cache.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. module.exports = {
  11. //token
  12. LOGIN_STATUS: 'LOGIN_STATUS_TOKEN',
  13. //uid
  14. UID:'UID',
  15. //用户信息
  16. USER_INFO: 'USER_INFO',
  17. //token过期时间
  18. EXPIRES_TIME: 'EXPIRES_TIME',
  19. //微信登录
  20. WX_AUTH: 'WX_AUTH',
  21. //公众号登录code
  22. STATE_KEY: 'wx_authorize_state',
  23. //登录类型
  24. LOGINTYPE: 'loginType',
  25. //登录跳转地址
  26. BACK_URL: 'login_back_url',
  27. //小程序登录状态code
  28. STATE_R_KEY: 'roution_authorize_state',
  29. //logo 地址
  30. LOGO_URL: 'LOGO_URL',
  31. //模板缓存
  32. SUBSCRIBE_MESSAGE: 'SUBSCRIBE_MESSAGE',
  33. TIPS_KEY: 'TIPS_KEY',
  34. SPREAD: 'spread',
  35. //缓存经度
  36. CACHE_LONGITUDE: 'LONGITUDE',
  37. //缓存纬度
  38. CACHE_LATITUDE: 'LATITUDE',
  39. }