feat(request): 获取用户信息失败重新登录

This commit is contained in:
woody 2025-09-18 16:16:03 +08:00
parent 6831d7c30d
commit 7f3e8c6568
1 changed files with 5 additions and 1 deletions

View File

@ -78,7 +78,11 @@ module.exports = vm => {
})
}, 1500)
} else if (data.code == 500) {
if (['/member/api/member/get-info'].includes(response?.config?.url)) {
if (
['/retail-member/api/retail-member/get-info'].includes(
response?.config?.url
)
) {
uni.showToast({
title: '登录失败',
icon: 'none',