【功能修复】商城:订单的支付回调接口添加@PermitAll

This commit is contained in:
Lcp
2024-10-10 15:07:08 +08:00
parent ae0b0ef229
commit 0cd2f3ca4a

View File

@@ -80,6 +80,7 @@ public class AppTradeOrderController {
@PostMapping("/update-paid")
@Operation(summary = "更新订单为已支付") // 由 pay-module 支付服务,进行回调,可见 PayNotifyJob
@PermitAll
public CommonResult<Boolean> updateOrderPaid(@RequestBody PayOrderNotifyReqDTO notifyReqDTO) {
tradeOrderUpdateService.updateOrderPaid(Long.valueOf(notifyReqDTO.getMerchantOrderId()),
notifyReqDTO.getPayOrderId());