Quellcode durchsuchen

充值规则优化

xubh vor 5 Jahren
Ursprung
Commit
8f2aaf61a7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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;