功能(小程序):同步用户体验流程到小程序
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user