zhangwencui
22 小时以前 c99fb191db1ac786218b11f04ba82d3c6fe1d932
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)
}