소스 검색

充值规则优化

xubh 5 년 전
부모
커밋
8f2aaf61a7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;