|
|
@@ -11,28 +11,28 @@ export const getStaffList = data => {
|
|
|
* 查看员工 b
|
|
|
*/
|
|
|
export const getStaffDet = data => {
|
|
|
- return https.get('/admin/detail', data)
|
|
|
+ return https.get('/shop-admin/detail', data)
|
|
|
}
|
|
|
|
|
|
/** *
|
|
|
* 添加员工 b
|
|
|
*/
|
|
|
export const addStaff = data => {
|
|
|
- return https.post('/admin/add', data)
|
|
|
+ return https.post('/shop-admin/prepare-bind', data)
|
|
|
}
|
|
|
|
|
|
/** *
|
|
|
* 修改员工 b
|
|
|
*/
|
|
|
export const updateStaff = data => {
|
|
|
- return https.post('/admin/update', data)
|
|
|
+ return https.post('/shop-admin/update', data)
|
|
|
}
|
|
|
|
|
|
/** *
|
|
|
* 删除员工 b
|
|
|
*/
|
|
|
export const delStaff = data => {
|
|
|
- return https.get('/admin/delete', data)
|
|
|
+ return https.get('/shop-admin/delete', data)
|
|
|
}
|
|
|
|
|
|
/** *
|