chenhj
2026-04-24 aeec3a510a8d41a6843fd9875a5d49c654ac2412
1
2
3
4
5
6
7
8
9
10
11
12
13
const TokenKey = 'App-Token'
 
export function getToken():string {
  return uni.getStorageSync(TokenKey)
}
 
export function setToken(token:string) {
  return uni.setStorageSync(TokenKey, token)
}
 
export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}