|
@@ -23,8 +23,8 @@ public class CodeMsg {
|
|
|
|
|
|
public static CodeMsg CHECK_DATA = new CodeMsg(007,"与后台检验不一致,请联系……");
|
|
public static CodeMsg CHECK_DATA = new CodeMsg(007,"与后台检验不一致,请联系……");
|
|
public static CodeMsg PARAMS_NUll = new CodeMsg(010,"请求失败,参数缺失");
|
|
public static CodeMsg PARAMS_NUll = new CodeMsg(010,"请求失败,参数缺失");
|
|
- public static CodeMsg WARSECOUNT_FAIL = new CodeMsg(010,"暂无库存");
|
|
|
|
- public static CodeMsg INTEGRAL_INSUFFICIENT = new CodeMsg(010,"您的积分不足");
|
|
|
|
|
|
+ public static CodeMsg WARSECOUNT_FAIL = new CodeMsg(-1,"库存不足");
|
|
|
|
+ public static CodeMsg INTEGRAL_INSUFFICIENT = new CodeMsg(-2,"您的积分不足");
|
|
private CodeMsg(int retCode, String message) {
|
|
private CodeMsg(int retCode, String message) {
|
|
this.retCode = retCode;
|
|
this.retCode = retCode;
|
|
this.message = message;
|
|
this.message = message;
|