Bläddra i källkod

充值规则优化

xubh 5 år sedan
förälder
incheckning
8f2aaf61a7
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/main/java/com/minpay/shouhuo/RechargeManageAction.java

+ 2 - 2
src/main/java/com/minpay/shouhuo/RechargeManageAction.java

@@ -134,7 +134,7 @@ public class RechargeManageAction implements IMINAction {
 	@MINValidator(value = ADD_RECHARGE_RULE)
 	public MINActionResult addRechargeRuleValidator(
 			@MINParam(key = "rechargeAmt",regex = RegexUtil.AMOUNT_NOTNULL, error = "请正确的金额") String rechargeAmt,
-			@MINParam(key = "giveAmt",regex = RegexUtil.AMOUNT_NOTNULL, error = "请正确的金额") String giveAmt,
+			@MINParam(key = "giveAmt",regex = RegexUtil.AMOUNT1_NOTNULL, error = "请正确的金额") String giveAmt,
 			MINSession session) throws MINBusinessException {
 		MINActionResult res = new MINActionResult();
 		return res;
@@ -173,7 +173,7 @@ public class RechargeManageAction implements IMINAction {
 	public MINActionResult modifyRechargeRuleValidator(
 			@MINParam(key = "id",regex = RegexUtil.NOT_NULL, error = "数据异常") String id,
 			@MINParam(key = "rechargeAmt",regex = RegexUtil.AMOUNT_NOTNULL, error = "请正确的金额") String rechargeAmt,
-			@MINParam(key = "giveAmt",regex = RegexUtil.AMOUNT_NOTNULL, error = "请正确的金额") String giveAmt,
+			@MINParam(key = "giveAmt",regex = RegexUtil.AMOUNT1_NOTNULL, error = "请正确的金额") String giveAmt,
 			MINSession session) throws MINBusinessException {
 		MINActionResult res = new MINActionResult();
 		return res;