cyywl_server/yudao-ui-app/config/cache.js

46 lines
1.2 KiB
JavaScript
Raw Permalink Normal View History

2023-05-15 10:12:22 +08:00
module.exports = {
//token
LOGIN_STATUS: 'LOGIN_STATUS_TOKEN',
2023-05-16 18:00:52 +08:00
REFRESH_TOKEN: 'REFRESH_TOKEN',
2023-05-15 10:12:22 +08:00
// uid
UID:'UID',
2023-05-18 14:56:38 +08:00
// 租户ID
TENANT_ID: 'TENANT_ID',
2023-05-18 18:07:27 +08:00
// 微信openId
OPEN_ID: 'OPEN_ID',
2023-05-19 17:34:57 +08:00
// 推广员ID
SPREAD_ID: 'SPREAD_ID',
// 是否扫物业推广码
IS_PROPERTY: 'IS_PROPERTY',
2023-05-15 10:12:22 +08:00
//用户信息
USER_INFO: 'USER_INFO',
2023-05-19 11:25:26 +08:00
//租户信息
TENANT_INFO: 'TENANT_INFO',
2023-05-15 10:12:22 +08:00
//token 过期时间
EXPIRES_TIME: 'EXPIRES_TIME',
//微信授权
WX_AUTH: 'WX_AUTH',
//微信授权状态
STATE_KEY: 'wx_authorize_state',
//登录类型
LOGINTYPE: 'loginType',
//登录回调地址
BACK_URL: 'login_back_url',
// 小程序授权状态
STATE_R_KEY: 'roution_authorize_state',
//logo Url
LOGO_URL: 'LOGO_URL',
//模板缓存
// SUBSCRIBE_MESSAGE: 'SUBSCRIBE_MESSAGE',
TIPS_KEY: 'TIPS_KEY',
SPREAD: 'spread',
//缓存经度
CACHE_LONGITUDE: 'LONGITUDE',
//缓存纬度
CACHE_LATITUDE: 'LATITUDE',
//app手机信息
PLATFORM: 'systemPlatform'
2023-05-18 14:56:38 +08:00
}