Update IErrorCode.java

This commit is contained in:
macro 2021-06-19 16:05:51 +08:00
parent 0d13721e1e
commit d65eb9950e

View File

@ -1,11 +1,17 @@
package com.macro.mall.common.api; package com.macro.mall.common.api;
/** /**
* 封装API的错误码 * 常用API返回对象接口
* Created by macro on 2019/4/19. * Created by macro on 2019/4/19.
*/ */
public interface IErrorCode { public interface IErrorCode {
/**
* 返回码
*/
long getCode(); long getCode();
/**
* 返回信息
*/
String getMessage(); String getMessage();
} }