mall + promotion:增加秒杀活动的 mock 接口

This commit is contained in:
YunaiV
2023-06-11 00:22:45 +08:00
parent 4f5ac0edbb
commit 5ffc1ac9f3
7 changed files with 127 additions and 7 deletions

View File

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