This commit is contained in:
@@ -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
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user