微信支付相关

This commit is contained in:
2024-12-17 16:11:02 +08:00
parent b88c070ec7
commit d70bfbc605
4 changed files with 32 additions and 6 deletions

View File

@ -35,7 +35,6 @@ public class AppWxPayController {
@ApiOperation(value = "微信预支付", notes = "微信预支付")
@PostMapping("/createOrder")
@IgnoreToken
public ApiResponse<WxPayRespVO> createOrder(@RequestBody WXPayOrderReqVO req) throws Exception {
return ApiResponse.success(wxPayService.createOrder(req));
}
@ -50,7 +49,6 @@ public class AppWxPayController {
@ApiOperation(value = "微信退款", notes = "微信退款")
@PostMapping("/refundOrder")
@IgnoreToken
public ApiResponse<?> refundOrder(@RequestBody String orderId) throws Exception {
return ApiResponse.buildResult(wxPayService.refundOrder(orderId) ?
BizCodeEnum.SUCCESS :