|
1234567891011 |
- package md
-
- // 缓存key统一管理
- const (
- UserJwtTokenKey = "%s:smart_canteen_user_jwt_token:%s" // jwt, 占位符:ip, user:id
- WxAccessToken = "smart_canteen_wx_access_token" // 微信接口凭证
- JwtTokenCacheTime = 3600 * 24 * 1
- WxAccessTokenCacheTime = 7200 - 1200
- WxSessionCacheKey = "wx_session_key" // 占位符: key的第一个字母
- CustomerOrdRefundLockKeyForCentralKitchenSchool = "customer_ord_refund_lock_key_for_central_kitchen_school:%s"
- )
|