接入微信订阅消息并完善预约通知
自动发布开发环境 Nacos 配置 / publish (push) Successful in 20s

This commit is contained in:
2026-11-02 12:11:23 +08:00
parent 3e439543bc
commit 19ca9e2965
29 changed files with 721 additions and 18 deletions
+4 -2
View File
@@ -327,8 +327,10 @@ export const orderApi = {
* Call guide: supply the parameters below, await the returned Promise, and handle loading / error UI in the caller.
* @param orderId: IdType caller-supplied value for `orderId: IdType`
*/
cancelOrder: (orderId: IdType) => {
return api.put(`/order/cancel/${orderId}`)
cancelOrder: (orderId: IdType, cancelReason?: string) => {
return api.put(`/order/cancel/${orderId}`, undefined, {
params: cancelReason ? { cancelReason } : undefined
})
},
// 后台获取所有订单