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

wechat_redis_key.go 312 B

3 years ago
1234567891011121314
  1. package redis_key
  2. const PREFIX = "wechat"
  3. func WechatBindingUserIdKey(sceneStr string) string {
  4. return KeyJoin(PREFIX, sceneStr, "scene_userId")
  5. }
  6. func WechatAccessTokenKey() string {
  7. return KeyJoin(PREFIX, "access_token")
  8. }
  9. func AccessTokenLockKey() string {
  10. return KeyJoin(PREFIX, "access_token_lock")
  11. }