杂务:更新 YumiNail 工作区
This commit is contained in:
@@ -35,6 +35,12 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
getOrderDetail(orderId) {
|
||||
return request({
|
||||
url: `/order/detail/${orderId}`
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* Purpose: listMyPendingReviews supports order.js by holding or executing the list my pending reviews 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.
|
||||
@@ -145,5 +151,36 @@ module.exports = {
|
||||
url: `/order/cancel/${orderId}`,
|
||||
method: 'PUT'
|
||||
})
|
||||
},
|
||||
|
||||
getArtistOrders() {
|
||||
return request({
|
||||
url: '/order/artist/list'
|
||||
})
|
||||
},
|
||||
|
||||
completeArtistOrder(orderId) {
|
||||
return request({
|
||||
url: `/order/artist/complete/${orderId}`,
|
||||
method: 'PUT'
|
||||
})
|
||||
},
|
||||
|
||||
getArtistCalendarRecent(days) {
|
||||
return request({
|
||||
url: '/order/artist/calendar/recent',
|
||||
params: {
|
||||
days: days || 7
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getArtistCalendarDay(date) {
|
||||
return request({
|
||||
url: '/order/artist/calendar/day',
|
||||
params: {
|
||||
date
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,7 +171,13 @@ module.exports = {
|
||||
getOrderArtistContact(orderId, artistId) {
|
||||
return request({
|
||||
url: `/contact-info/order/${orderId}/artist`,
|
||||
data: artistId ? { artistId } : {}
|
||||
params: artistId ? { artistId } : {}
|
||||
})
|
||||
},
|
||||
|
||||
getPlatformContact() {
|
||||
return request({
|
||||
url: '/contact-info/platform'
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user