From 6f44eb561c9a728e3ff4862554047abc31640ca7 Mon Sep 17 00:00:00 2001 From: wjt <1797368093@qq.com> Date: 星期六, 22 六月 2024 16:41:25 +0800 Subject: [PATCH] 修改手机号添加 --- api/auth.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/api/auth.js b/api/auth.js index b1ab4c9..bda0af4 100644 --- a/api/auth.js +++ b/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); } \ No newline at end of file -- Gitblit v1.9.1