This commit is contained in:
Ls
2026-07-10 08:41:45 +08:00
parent d1eedfdc5b
commit d020483461
18 changed files with 1204 additions and 497 deletions

View File

@@ -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) {