hbt-prevention-ui/src/service/user.service.ts

15 lines
480 B
TypeScript

import BaseService from "hbt-common/service/base.service"
import type { AxiosResponse } from 'axios'
import { ActionResult } from "hbt-common/models/actionResult";
export default class UserService extends BaseService<any>{
constructor(){
super()
}
public getDetailsByIds(params: any,showLoading?):Promise<AxiosResponse<ActionResult<any>>>{
const url = this.prefix.system+'/user/' + params.userId;
return this.get(url,showLoading)
}
}