You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
240 B

5 years ago
  1. import ApiService from '@/services/api.service'
  2. class UserService {
  3. constructor() {
  4. this.request = new ApiService()
  5. }
  6. getUserList(query) {
  7. return this.request.get(`/users?q=${query}`)
  8. }
  9. }
  10. export default new UserService()