user-d9669d93.js 1.9 KB

1
  1. import{H as t}from"./index-b3d5c748.js";const s="dashoo.labsop.admin-36000",r="dashoo.labsop.apparatus-36000";function o(){return{createUser(e){return t.postRequest(s,"User","Create",e)},updateUser(e){return t.postRequest(s,"User","UpdateById",e)},getUserList(e){return t.postRequest(s,"User","GetList",e)},deleteUser(e){return t.postRequest(s,"User","DeleteByIds",e)},getUserEntity(e){return t.postRequest(s,"User","GetEntityById",e)},getUserInfo(e){return t.postRequest(s,"User","GetUserInfo",e)},changePassword(e){return t.postRequest(s,"User","ChangePassword",e)},resetPassword(e){return t.postRequest(s,"User","ResetPassword",e)},setUserStatus(e){return t.postRequest(s,"User","SetStatus",e)},getUserByUserName(e){return t.postRequest(s,"User","GetUserByUserName",e)},downloadTmpl(e){return t.postRequest(s,"User","ExcelTemplate",e)},uploadTmpl(e){return t.postRequest(s,"User","ExcelImport",e)},getUserDict(e){return t.postRequest(s,"User","GetDictList",e)},indexRegister(e){return t.postRequest(s,"System","Register",e)},registerUserApproval(e){return t.postRequest(s,"User","RegisterUserApproval",e)},sendResetPasswordEmail(e){return t.postRequest(s,"User","SendResetPasswordEmail",e)},resetPasswordFromEmail(e){return t.postRequest(s,"User","ResetPasswordFromEmail",e)},getDictDataByType(e){return t.postRequest(s,"Dict","GetDictDataByType",{dictType:e})},getProfile(e){return t.postRequest(s,"User","GetProfile",e)},updateProfile(e){return t.postRequest(s,"User","UpdateProfile",e)},setAvatar(e){return t.postRequest(s,"User","SetAvatar",e)},getScore(e){return t.postRequest(r,"TusBlacklist","MyScore",e)},getUserTypeList(e){return t.postRequest(s,"UserType","GetUserTypeList",e)},getUserType10List(e){return t.postRequest(s,"UserType","GetUserType10List",e)},getUserSignature(e){return t.postRequest(s,"User","GetUserSignature",e)},updateUserSignature(e){return t.postRequest(s,"User","UpdateUserSignature",e)}}}export{o as u};