手持机代码初始化

This commit is contained in:
liuhanqing
2025-09-11 14:29:56 +08:00
parent 6dce93327a
commit 3a3d7af8c6
416 changed files with 67555 additions and 0 deletions

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)
}