api服务启动初始化reids

This commit is contained in:
xuwenbo
2020-04-29 15:21:23 +08:00
committed by xwb
parent 730fa1766e
commit af3e9e30d9
2 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,27 @@
package co.yixiang.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* rediskey 相关枚举
*/
@Getter
@AllArgsConstructor
public enum RedisKeyEnum {
WXAPP_APPID("wxapp_appId","微信小程序id"),
WXAPP_SECRET("wxapp_secret","微信小程序秘钥"),
WX_NATIVE_APP_APPID("wx_native_app_appId","支付appId"),
WXPAY_MCHID("wxpay_mchId","商户号"),
WXPAY_MCHKEY("wxpay_mchKey","商户秘钥"),
WXPAY_KEYPATH("wxpay_keyPath","商户证书路径"),
WECHAT_APPID("wechat_appid","微信公众号id"),
WECHAT_APPSECRET("wechat_appsecret","微信公众号secret"),
WECHAT_TOKEN("wechat_token","微信公众号验证token"),
WECHAT_ENCODINGAESKEY("wechat_encodingaeskey","EncodingAESKey"),
TENGXUN_MAP_KEY("tengxun_map_key","腾讯mapkey");
private String value;
private String desc;
}