zhangwencui
12 小时以前 c7043051efed6648a4ae3d9aceaa70fc34171a58
src/utils/auth.ts
对比新文件
@@ -0,0 +1,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)
}