功能:增加店长员工审核与登录提醒
This commit is contained in:
@@ -66,5 +66,32 @@ module.exports = {
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
},
|
||||
|
||||
reviewSummary() {
|
||||
return request({
|
||||
url: '/user/workbench/registration/summary'
|
||||
})
|
||||
},
|
||||
|
||||
reviewApplications() {
|
||||
return request({
|
||||
url: '/user/workbench/registration/list'
|
||||
})
|
||||
},
|
||||
|
||||
approveApplication(id) {
|
||||
return request({
|
||||
url: `/user/workbench/registration/${id}/approve`,
|
||||
method: 'POST'
|
||||
})
|
||||
},
|
||||
|
||||
rejectApplication(id, reason) {
|
||||
return request({
|
||||
url: `/user/workbench/registration/${id}/reject`,
|
||||
method: 'POST',
|
||||
data: { reason }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user