【功能修复】商城:订单的支付回调接口添加@PermitAll
parent
ae0b0ef229
commit
0cd2f3ca4a
|
@ -80,6 +80,7 @@ public class AppTradeOrderController {
|
||||||
|
|
||||||
@PostMapping("/update-paid")
|
@PostMapping("/update-paid")
|
||||||
@Operation(summary = "更新订单为已支付") // 由 pay-module 支付服务,进行回调,可见 PayNotifyJob
|
@Operation(summary = "更新订单为已支付") // 由 pay-module 支付服务,进行回调,可见 PayNotifyJob
|
||||||
|
@PermitAll
|
||||||
public CommonResult<Boolean> updateOrderPaid(@RequestBody PayOrderNotifyReqDTO notifyReqDTO) {
|
public CommonResult<Boolean> updateOrderPaid(@RequestBody PayOrderNotifyReqDTO notifyReqDTO) {
|
||||||
tradeOrderUpdateService.updateOrderPaid(Long.valueOf(notifyReqDTO.getMerchantOrderId()),
|
tradeOrderUpdateService.updateOrderPaid(Long.valueOf(notifyReqDTO.getMerchantOrderId()),
|
||||||
notifyReqDTO.getPayOrderId());
|
notifyReqDTO.getPayOrderId());
|
||||||
|
|
Loading…
Reference in New Issue