You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
duomendian/config/cache.js

41 lines
938 B

// +----------------------------------------------------------------------
module.exports = {
//token
LOGIN_STATUS: 'LOGIN_STATUS_TOKEN',
//uid
UID:'UID',
//用户信息
USER_INFO: 'USER_INFO',
//token过期时间
EXPIRES_TIME: 'EXPIRES_TIME',
//微信登录
WX_AUTH: 'WX_AUTH',
//公众号登录code
STATE_KEY: 'wx_authorize_state',
//登录类型
LOGINTYPE: 'loginType',
//登录跳转地址
BACK_URL: 'login_back_url',
//小程序登录状态code
STATE_R_KEY: 'roution_authorize_state',
//logo 地址
LOGO_URL: 'LOGO_URL',
//模板缓存
SUBSCRIBE_MESSAGE: 'SUBSCRIBE_MESSAGE',
TIPS_KEY: 'TIPS_KEY',
SPREAD: 'spid',
//缓存经度
CACHE_LONGITUDE: 'LONGITUDE',
//缓存纬度
CACHE_LATITUDE: 'LATITUDE',
//判断是门店还是平台管理端;
STORE_NUM: 'STORE_NUM',
// 购物车数量统计
CART_NUM: 'CART_NUM',
// 移动网络下视频自动播放
NON_WIFI_AUTOPLAY: 'NON_WIFI_AUTOPLAY'
}