功能(小程序):同步用户体验流程到小程序

This commit is contained in:
xiaowang
2026-05-23 21:56:52 +08:00
parent 861eea933b
commit b67dae502f
38 changed files with 2163 additions and 126 deletions
+18
View File
@@ -17,6 +17,14 @@ module.exports = {
})
},
checkoutPreview(data) {
return request({
url: '/order/checkout-preview',
method: 'POST',
data
})
},
/**
* Purpose: getOrderList supports order.js by holding or executing the get order list page or API role.
* Usage: import, call, read, or update this method from the owning page/module while preserving the surrounding loading and permission flow.
@@ -47,6 +55,16 @@ module.exports = {
})
},
/**
* Purpose: listOrderArtistChangeRequests loads every change request attached to one order for timeline display.
* Usage: call it from the order page after loading the order list; callers may fall back to an empty list.
*/
listOrderArtistChangeRequests(orderId) {
return request({
url: `/order/${orderId}/artist-change/requests`
})
},
/**
* Purpose: submitArtistReview supports order.js by holding or executing the submit artist review page or API role.
* Usage: import, call, read, or update this method from the owning page/module while preserving the surrounding loading and permission flow.