diff --git a/mallinkCApi/src/main/java/com/iformall/controller/WxOrderController.java b/mallinkCApi/src/main/java/com/iformall/controller/WxOrderController.java index 8102b3f55..1dcbf9518 100644 --- a/mallinkCApi/src/main/java/com/iformall/controller/WxOrderController.java +++ b/mallinkCApi/src/main/java/com/iformall/controller/WxOrderController.java @@ -111,13 +111,13 @@ public class WxOrderController extends BaseController { int min = jo.getIntValue("min"); if (max!=0 && min ==0 && user.getScore() > max) { - return new ResultData(ErrorCode.COUPON_ONLY_FOR_NEW_MEMBER); + return new ResultData(ErrorCode.COUPON_SCORE_NOT_IN_RANGE); } if (max==0 && min !=0 && user.getScore() < min) { - return new ResultData(ErrorCode.COUPON_ONLY_FOR_NEW_MEMBER); + return new ResultData(ErrorCode.COUPON_SCORE_NOT_IN_RANGE); } if (max!=0 && min !=0 && (user.getScore() < min || user.getScore() > max)) { - return new ResultData(ErrorCode.COUPON_ONLY_FOR_NEW_MEMBER); + return new ResultData(ErrorCode.COUPON_SCORE_NOT_IN_RANGE); } } }