杂务:更新 YumiNail 工作区

This commit is contained in:
xiaowang
2026-05-29 13:30:56 +08:00
parent 1d077d4089
commit 31cd06b5c9
16498 changed files with 10330586 additions and 2340 deletions
+37
View File
@@ -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
}
})
}
}
+7 -1
View File
@@ -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'
})
},