index.js 325 B

1234567891011121314151617
  1. import { BaseService, Service } from '@/cool';
  2. import { baseUrl } from '@/config/env';
  3. import store from '@/store';
  4. @Service('shop')
  5. export class ShopService extends BaseService {
  6. addStaff(data) {
  7. return this.request({
  8. url: '/add-staff',
  9. method: 'POST',
  10. data: data
  11. });
  12. }
  13. }
  14. export default new ShopService();