Files
vpUni/.svn/pristine/42/426b0c018c6d0fc4657db9639de677a35c6d3b0a.svn-base
2026-03-09 16:39:03 +08:00

27 lines
855 B
Plaintext

import { Service } from '@/Service/Service';
/*****用户*****/
class vpUserService {
private static GetUserInfoPath : string = '/User/GetUserInfo';
/*****获取用户信息*****/
static GetUserInfo() {
var result = Service.Request(this.GetUserInfoPath, 'GET', {});
return result;
}
private static GetUserAccInfoPath : string = '/User/GetUserAccInfo';
/*****获取用户账户信息*****/
static GetUserAccInfo(page : number) {
var result = Service.Request(this.GetUserAccInfoPath, 'GET', { page });
return result;
}
private static UpdateUserPath : string = '/User/UpdateUser';
/*****获取用户账户信息*****/
static UpdateUser(headImg:string,nick:string,sex:string,phone:string) {
var result = Service.Request(this.UpdateUserPath, 'POST', { headImg,nick,sex,phone });
return result;
}
}
export { Service, vpUserService };