api/auth.js
@@ -32,4 +32,8 @@ // 新注册获取验证码 /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); }