完整
This commit is contained in:
@@ -24,6 +24,38 @@ class userService {
|
||||
}
|
||||
|
||||
|
||||
private static GetUserListPath : string = '/api/User/GetUserList';
|
||||
/*****查询用户列表接口*****/
|
||||
static GetUserList(serch:string,page:number) {
|
||||
var result = Service.Request(this.GetUserListPath, "GET", {serch,page});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
private static UpdateUserRolePath : string = '/api/User/UpdateUserRole';
|
||||
/*****更改用户权限接口*****/
|
||||
static UpdateUserRole(userId:string) {
|
||||
var result = Service.Request(this.UpdateUserRolePath, "POST", {userId});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
private static GetKefuInfoPath : string = '/api/User/GetKefuInfo';
|
||||
/*****获取客服信息接口*****/
|
||||
static GetKefuInfo() {
|
||||
var result = Service.Request(this.GetKefuInfoPath, "GET", {});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
private static UpdateKefuPath : string = '/api/User/UpdateKefu';
|
||||
/*****修改客服信息接口*****/
|
||||
static UpdateKefu(phone:string,name:string) {
|
||||
var result = Service.Request(this.UpdateKefuPath, "POST", {phone,name});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
// private static GetStudentInfoPath : string = '/api/Student/GetStudentInfo';
|
||||
// /*****根据学生id查详情接口*****/
|
||||
// static GetStudentInfo(studentId:string) {
|
||||
|
||||
Reference in New Issue
Block a user