update 小程序关闭待支付订单接口

This commit is contained in:
Lemon
2025-09-25 11:02:59 +08:00
parent d4e7a665a9
commit 5c86e525d2
3 changed files with 5 additions and 5 deletions

View File

@@ -446,11 +446,11 @@ public class OrderController extends BaseController {
* @param orderCode
* @return
*/
@GetMapping("/closeUnPayOder/{orderCode}")
public RestApiResponse<?> closeUnPayOder(@PathVariable("orderCode") String orderCode) {
@GetMapping("/closeOrderByOrderCode/{orderCode}")
public RestApiResponse<?> closeOrderByOrderCode(@PathVariable("orderCode") String orderCode) {
RestApiResponse<?> response = null;
try {
orderBasicInfoService.closeUnPayOder(orderCode);
orderBasicInfoService.closeOrderByOrderCode(orderCode);
response = new RestApiResponse<>();
} catch (Exception e) {
logger.error("关闭订单号:{} 的订单失败, error:", orderCode, e);