支付调整

This commit is contained in:
2026-01-14 17:06:11 +08:00
parent ab8877c9cf
commit c446d576be
2 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ public class DistributionPayController {
*/ */
@PostMapping("/ltPayOrder") @PostMapping("/ltPayOrder")
@Debounce(value = "#payParam.userId") @Debounce(value = "#payParam.userId")
public CzgResult<Map<String, Object>> ltPayOrder( HttpServletRequest request, @Validated @RequestBody MkDistributionPayDTO payParam) { public CzgResult<Map<String, Object>> ltPayOrder(HttpServletRequest request, @Validated @RequestBody MkDistributionPayDTO payParam) {
return payService.ltPayOrder(ServletUtil.getClientIP(request), payParam); return payService.ltPayOrder(ServletUtil.getClientIP(request), payParam);
} }
@@ -46,8 +46,8 @@ public class DistributionPayController {
*/ */
@PostMapping("/mchRecharge") @PostMapping("/mchRecharge")
@Debounce(value = "#payParam.userId") @Debounce(value = "#payParam.userId")
public CzgResult<Map<String, String>> mchRecharge(HttpServletRequest request, @Validated @RequestBody MkDistributionPayDTO payParam) { public CzgResult<Map<String, String>> mchRecharge(@Validated @RequestBody MkDistributionPayDTO payParam) {
AssertUtil.isBlank(payParam.getCode(), "微信code不为空"); AssertUtil.isBlank(payParam.getCode(), "微信code不为空");
return CzgResult.success(payService.mchRecharge(ServletUtil.getClientIP(request), payParam)); return CzgResult.success(payService.mchRecharge(payParam));
} }
} }

View File

@@ -21,6 +21,6 @@ public interface DistributionPayService {
/** /**
* 运营端小程序余额充值 * 运营端小程序余额充值
*/ */
Map<String, String> mchRecharge(String clientIP, MkDistributionPayDTO payParam); Map<String, String> mchRecharge(MkDistributionPayDTO payParam);
} }