heihei
This commit is contained in:
@@ -276,7 +276,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
|
|||||||
//如果是小程序
|
//如果是小程序
|
||||||
if authType == "weixinmini" || authType == "weixinapp" {
|
if authType == "weixinmini" || authType == "weixinapp" {
|
||||||
appID := strings.Split(authSecret, ",")[0]
|
appID := strings.Split(authSecret, ",")[0]
|
||||||
if appID == "wx08a5c2a8581414ff" || appID == "wx2d6949f724b2541d" || appID == "wx18111a41fd17f24f" { //菜市或者果园
|
if appID == "wxa4a76d7b4c88604e" || appID == "wx2d6949f724b2541d" || appID == "wx18111a41fd17f24f" { //菜市或者果园
|
||||||
if user != nil {
|
if user != nil {
|
||||||
binds, err := dao.GetUserBindAuthInfo(dao.GetDB(), user.GetID(), 0, nil, "", "", "wx2bb99eb5d2c9b82c")
|
binds, err := dao.GetUserBindAuthInfo(dao.GetDB(), user.GetID(), 0, nil, "", "", "wx2bb99eb5d2c9b82c")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -59,8 +59,8 @@ weixinMsgKey = "duyaeVYUsz8LuKBqJeQO1NX6KmoC43yfMsbJybcRJ3e"
|
|||||||
weixinPageAppID = "wx018dbe7daa3d5627"
|
weixinPageAppID = "wx018dbe7daa3d5627"
|
||||||
weixinPageSecret = "c7a84ed3ef3ae04ac78e02fb593ffbe5"
|
weixinPageSecret = "c7a84ed3ef3ae04ac78e02fb593ffbe5"
|
||||||
|
|
||||||
weixinMiniAppID = "wx08a5c2a8581414ff"
|
weixinMiniAppID = "wxa4a76d7b4c88604e"
|
||||||
weixinMiniSecret = "e7ec67c86cbd4dfa531af7af7533cdc9"
|
weixinMiniSecret = "dc0fd8dc3042f383347e0502b73ab1d2"
|
||||||
|
|
||||||
wxpayAppID = "wx70d0943e61e0d15c"
|
wxpayAppID = "wx70d0943e61e0d15c"
|
||||||
wxpayAppKey = "XKJPOIHJ233adf01KJIXlIeQDSDKFJAD"
|
wxpayAppKey = "XKJPOIHJ233adf01KJIXlIeQDSDKFJAD"
|
||||||
|
|||||||
Reference in New Issue
Block a user