|
|
@ -12,8 +12,8 @@ import http from '../CommonHttp'
|
|
|
|
* @param call 成功的回调
|
|
|
|
* @param call 成功的回调
|
|
|
|
* @returns {Promise<any>} 返回Promise对象
|
|
|
|
* @returns {Promise<any>} 返回Promise对象
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function getStaffList(params, call) {
|
|
|
|
export function getStaffList(params, call, errorCallback) {
|
|
|
|
return http.get('/store/staff/list', params).then(call)
|
|
|
|
return http.get('/store/staff/list', params).then(call).catch(errorCallback)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|