yuanhao
2025-05-19 cc610ef597a4b600b4c48c80026f3a99be171f3b
api/auth.js
@@ -32,4 +32,12 @@
// 新注册获取验证码 /verify/getNew
export function getNewVerify(data) {
   return http.get(`/verify/getNew`, {params: data});
}
// 更换手机号码 updatePhone
export function updatePhone(data) {
   return http.post(`/system/user/profile/updatePhone/${data.phone}/${data.companyId}`, data);
}
// /system/company/list
export function getCompanyList(data){
   return http.get('/system/company/list',{params: data}, { custom: { loading: true }});
}