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.
 
 
 
 
 
 

17 lines
286 B

import ApiService from '@/services/api.service'
class UserService {
constructor() {
this.request = ApiService
}
getMe() {
return this.request.get('/me')
}
getUserList(query) {
return this.request.get(`/users?q=${query}`)
}
}
export default new UserService()