微信JSSDK对接,代下单支付

This commit is contained in:
2026-08-02 11:49:35 +08:00
parent 50ba6e9c56
commit 09e732bfa3
32 changed files with 1223 additions and 218 deletions
+4
View File
@@ -113,6 +113,10 @@ export function clearAuth(options?: { keepProfile?: boolean }) {
}
}
export function getToken() {
return localStorage.getItem(ACCESS_TOKEN);
}
export function isLoggedIn() {
return !!localStorage.getItem(ACCESS_TOKEN);
}