|
@@ -130,6 +130,8 @@ public class MpCompaignsRewardSettingControllerAPI extends BaseAppController {
|
|
|
obj = errorResult(ErrorCode.code_1027,"您慢了一步,已经被抢完了哦~");
|
|
obj = errorResult(ErrorCode.code_1027,"您慢了一步,已经被抢完了哦~");
|
|
|
}else if ("1028".equals(returnMap.get("success"))) {
|
|
}else if ("1028".equals(returnMap.get("success"))) {
|
|
|
obj = errorResult(ErrorCode.code_1028,"钱余额不足");
|
|
obj = errorResult(ErrorCode.code_1028,"钱余额不足");
|
|
|
|
|
+ }else if ("1029".equals(returnMap.get("success"))) {
|
|
|
|
|
+ obj = errorResult(ErrorCode.code_1028,"该好礼还未到兑换时间,请耐心等待");
|
|
|
}else {
|
|
}else {
|
|
|
obj = successResult(ErrorCode.code_1000, "好礼兑换成功", returnMap);
|
|
obj = successResult(ErrorCode.code_1000, "好礼兑换成功", returnMap);
|
|
|
}
|
|
}
|
|
@@ -279,6 +281,8 @@ public class MpCompaignsRewardSettingControllerAPI extends BaseAppController {
|
|
|
obj = errorResult(ErrorCode.code_1027,"您慢了一步,已经被抢完了哦~");
|
|
obj = errorResult(ErrorCode.code_1027,"您慢了一步,已经被抢完了哦~");
|
|
|
}else if ("1028".equals(returnMap.get("success"))) {
|
|
}else if ("1028".equals(returnMap.get("success"))) {
|
|
|
obj = errorResult(ErrorCode.code_1028,"钱余额不足");
|
|
obj = errorResult(ErrorCode.code_1028,"钱余额不足");
|
|
|
|
|
+ }else if ("1029".equals(returnMap.get("success"))) {
|
|
|
|
|
+ obj = errorResult(ErrorCode.code_1028,"该活动还未到兑换时间,请耐心等待");
|
|
|
}else {
|
|
}else {
|
|
|
obj = successResult(ErrorCode.code_1000, "活动兑换成功", returnMap);
|
|
obj = successResult(ErrorCode.code_1000, "活动兑换成功", returnMap);
|
|
|
}
|
|
}
|