Update IErrorCode.java
This commit is contained in:
parent
0d13721e1e
commit
d65eb9950e
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user