Explorar el Código

充值规则优化

xubh hace 5 años
padre
commit
8f2aaf61a7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;