扫码支付修改

This commit is contained in:
weiwei committed 2025-05-08 11:11:41 +08:00
1 parent ecbdb04a05
commit d9133f2ced
5 files changed
+35 -25

No files matched your search

+4 -1
View File
@@ -48,7 +48,10 @@ async function handleZzdLogin(): Promise<boolean> {
const params = new URL(window.location.href).searchParams
const token = params.get("uabaseToken")
if (!token) return false
if (!token) {
uni.showToast({ title: "用户凭证已失效,请重新进入智慧后勤应用", icon: "none", duration: 6000 })
return false
}
const res = await userApi.auth(token)
if (res?.code == 0) {