fix:refreshToken 接口的 showLoading 拼成了 loading 问题

pull/147/head
YunaiV 2025-04-29 19:27:48 +08:00
parent 3e7fd5277c
commit 90e22374ee
1 changed files with 5 additions and 5 deletions

View File

@ -56,10 +56,10 @@ const AuthUtil = {
url: '/member/auth/refresh-token', url: '/member/auth/refresh-token',
method: 'POST', method: 'POST',
params: { params: {
refreshToken refreshToken,
}, },
custom: { custom: {
loading: false, // 不用加载中 showLoading: false, // 不用加载中
showError: false, // 不展示错误提示 showError: false, // 不展示错误提示
}, },
}); });
@ -103,7 +103,7 @@ const AuthUtil = {
data: { data: {
phoneCode, phoneCode,
loginCode, loginCode,
state state,
}, },
custom: { custom: {
showSuccess: true, showSuccess: true,
@ -118,13 +118,13 @@ const AuthUtil = {
url: '/member/auth/create-weixin-jsapi-signature', url: '/member/auth/create-weixin-jsapi-signature',
method: 'POST', method: 'POST',
params: { params: {
url url,
}, },
custom: { custom: {
showError: false, showError: false,
showLoading: false, showLoading: false,
}, },
}) });
}, },
// //
}; };