初始化

This commit is contained in:
2026-01-31 01:48:39 +08:00
commit d563f6ab73
760 changed files with 113042 additions and 0 deletions

13
yunying-app/utils/auth.js Normal file
View File

@@ -0,0 +1,13 @@
const TokenKey = 'App-Token'
export function getToken() {
return uni.getStorageSync(TokenKey)
}
export function setToken(token) {
return uni.setStorageSync(TokenKey, token)
}
export function removeToken() {
return uni.removeStorageSync(TokenKey)
}