智慧食堂
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.

md_app_redis_key.go 624 B

1 jaar geleden
9 maanden geleden
1 jaar geleden
1234567891011
  1. package md
  2. // 缓存key统一管理
  3. const (
  4. UserJwtTokenKey = "%s:smart_canteen_user_jwt_token:%s" // jwt, 占位符:ip, user:id
  5. WxAccessToken = "smart_canteen_wx_access_token" // 微信接口凭证
  6. JwtTokenCacheTime = 3600 * 24 * 1
  7. WxAccessTokenCacheTime = 7200 - 1200
  8. WxSessionCacheKey = "wx_session_key" // 占位符: key的第一个字母
  9. CustomerOrdRefundLockKeyForCentralKitchenSchool = "customer_ord_refund_lock_key_for_central_kitchen_school:%s"
  10. )