index.js 525 B

1234567891011121314151617181920
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. //准备创建管理员的数据
  3. export const prepareBind = data => {
  4. return https.post('/shop-admin/prepare-bind', data)
  5. }
  6. //创建管理员
  7. export const generateAdmin = data => {
  8. return https.post('/shop-admin/generate-admin', data)
  9. }
  10. //获取所有在职员工 ssh 20220510
  11. export const getAllStaff = data => {
  12. return https.get('/shop-admin/get-all-staff', data)
  13. }
  14. export const getStaffInfo = data => {
  15. return https.get('/shop-admin/get-staff-info', data)
  16. }