This commit is contained in:
lq
2025-06-21 15:31:21 +08:00
parent 23945a58de
commit 4f118047c4
6 changed files with 106 additions and 22 deletions

View File

@ -26,7 +26,7 @@ export const fetchLogOut = (params = {}) => {
// 导出一个名为fetchProfileInfo的函数用于获取用户信息
export const fetchProfileInfo = (params = {}) => {
// 使用Http.put方法向/v1/me接口发送put请求并将params作为参数传递
return Http.put('/v1/me', params);
return Http.get('/v1/me', params);
};
// 导出一个函数,用于获取编辑手机号的验证码