diff --git a/business/jxstore/cms/authz.go b/business/jxstore/cms/authz.go index 2c0a422b2..7798e533a 100644 --- a/business/jxstore/cms/authz.go +++ b/business/jxstore/cms/authz.go @@ -16,7 +16,7 @@ import ( func TransferLegacyWeixins(mobile string) (err error) { globals.SugarLogger.Debugf("TransferLegacyWeixins mobile:%s", mobile) - if !globals.EnableWXAuth2 { + if !globals.EnableWXAuth2 || globals.DisableWXAuth1 { return nil } remark4Transfer := "transfer" diff --git a/globals/globals.go b/globals/globals.go index 80e17da46..b29228398 100644 --- a/globals/globals.go +++ b/globals/globals.go @@ -89,7 +89,7 @@ func Init() { StoreName = beego.AppConfig.DefaultString("storeName", "京西菜市") EnableWXAuth2 = true // beego.BConfig.RunMode == "beta" - DisableWXAuth1 = false + DisableWXAuth1 = true } func IsCallbackAlwaysReturnSuccess() bool {