Salon美甲师注册申请关联微信账号
自动发布开发环境 Nacos 配置 / publish (push) Successful in 26s

This commit is contained in:
2026-10-30 03:46:24 +08:00
parent 5a787a93f3
commit 7b40ee1650
27 changed files with 733 additions and 91 deletions
+12
View File
@@ -26,6 +26,18 @@ module.exports = {
})
},
uploadRegistrationAvatar(registrationTicket, filePath) {
const { uploadFile } = require('../utils/upload')
return uploadFile({
url: '/user/workbench/register/avatar',
baseUrl: API_DOMAIN,
filePath,
name: 'file',
formData: { registrationTicket },
errorMessage: '头像上传失败'
})
},
getAvailableRegistrationShops() {
return request({
url: '/user/workbench/shops/available',
+20 -3
View File
@@ -24,7 +24,7 @@ module.exports = {
createUser(data) {
return request({
url: '/manager/employees/users',
url: '/manager/employees/users/unlinked',
method: 'POST',
data
})
@@ -80,10 +80,27 @@ module.exports = {
})
},
approveApplication(id) {
unassociatedApplications() {
return request({ url: '/user/workbench/registration/unassociated' })
},
unboundArtists(id) {
return request({ url: `/user/workbench/registration/${id}/unbound-artists` })
},
preAssociateApplication(id, targetArtistUserId) {
return request({
url: `/user/workbench/registration/${id}/pre-associate`,
method: 'POST',
data: { targetArtistUserId }
})
},
approveApplication(id, data) {
return request({
url: `/user/workbench/registration/${id}/approve`,
method: 'POST'
method: 'POST',
data
})
},