|
@@ -13,12 +13,13 @@ func GetWxApp() (miniprogram *miniprogram.MiniProgram) {
|
|
wc := wechat.NewWechat()
|
|
wc := wechat.NewWechat()
|
|
memory := cache.NewMemory()
|
|
memory := cache.NewMemory()
|
|
//memory := cache.NewRedis(global.Redis)
|
|
//memory := cache.NewRedis(global.Redis)
|
|
- var WxId = `gh_75abb562a946`
|
|
|
|
|
|
+ // var WxId = `gh_75abb562a946`
|
|
|
|
+ var WxAppId = `wxb059c872d79b9967`
|
|
var WxAppSecret = `1737c73e9f69a21de1a345b8f0800258`
|
|
var WxAppSecret = `1737c73e9f69a21de1a345b8f0800258`
|
|
cfg := &config.Config{
|
|
cfg := &config.Config{
|
|
// AppID: utils.WX_APPID,
|
|
// AppID: utils.WX_APPID,
|
|
// AppSecret: utils.WX_APP_SECRET,
|
|
// AppSecret: utils.WX_APP_SECRET,
|
|
- AppID: WxId,
|
|
|
|
|
|
+ AppID: WxAppId,
|
|
AppSecret: WxAppSecret,
|
|
AppSecret: WxAppSecret,
|
|
Cache: memory,
|
|
Cache: memory,
|
|
}
|
|
}
|