package com.macro.mall.common.api;

/**
 * 封装API的错误码
 * Created by macro on 2019/4/19.
 */
public interface IErrorCode {
    long getCode();

    String getMessage();
}

@@ -40,17 +40,19 @@
 %0A * 
-%E5%B0%81%E8%A3%85API%E7%9A%84%E9%94%99%E8%AF%AF%E7%A0%81
+%E5%B8%B8%E7%94%A8API%E8%BF%94%E5%9B%9E%E5%AF%B9%E8%B1%A1%E6%8E%A5%E5%8F%A3
 %0A * 
@@ -124,24 +124,79 @@
     
-long getCode();%0A
+/**%0A     * %E8%BF%94%E5%9B%9E%E7%A0%81%0A     */%0A    long getCode();%0A%0A    /**%0A     * %E8%BF%94%E5%9B%9E%E4%BF%A1%E6%81%AF%0A     */
 %0A   

Update IErrorCode.java