cache.js 236 B

123456789101112
  1. import { Pet } from "../model/pet.js"
  2. //全局内存缓存对象
  3. const CACHE = {
  4. accessToken: undefined,
  5. weRunLastTime: undefined,
  6. userInfo: undefined,
  7. isIndexFirstIn:true,
  8. userPetCount:0
  9. }
  10. module.exports = {
  11. CACHE: CACHE
  12. }