|
|
|
|
@ -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());
|
|
|
|
|
|