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 }}); }