diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index 48876223c..bfa3970e0 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -249,6 +249,7 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string } realAuthID = user.GetID() } + globals.SugarLogger.Debug("打印realAuthID检测是否为空==================", realAuthID) if authBindEx, err = handler.VerifySecret(realAuthID, authSecret); err == nil { globals.SugarLogger.Debugf("Login authBindEx", utils.Format4Output(authBindEx, false)) if authBindEx == nil { // mobile, email会返回nil(表示不会新建AuthBind实体) diff --git a/conf/app.conf b/conf/app.conf index e30653893..cb86de876 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -209,6 +209,9 @@ getYLYTokenURL = "http://www.jxc4.com/v2/sys/GetYLYToken" tiktokAppKey = "tta6a1d01c399f264201" tiktokAppSecret = "5c08a0465cf0f996af254a03b6c2548defef87ad" + +tiktokJXDJKey="ttaceeda5333d7a7ab01" #京西到家抖音小程序 +tiktokJXDJSecret="9285b20dce3c46179204a5aa4d92ca96ee1ed5c9" #国美 gomeiAppKey = "N0R033L2QQFR53" gomeiAppSecret = "686ffc3e31c24594838baed045563790" @@ -331,6 +334,9 @@ jxPrintAppKey = "rfBd56ti2SMtYvSg" tiktokAppKey = "tta6a1d01c399f264201" tiktokAppSecret = "5c08a0465cf0f996af254a03b6c2548defef87ad" + +tiktokJXDJKey="ttaceeda5333d7a7ab01" #京西到家抖音小程序 +tiktokJXDJSecret="9285b20dce3c46179204a5aa4d92ca96ee1ed5c9" #国美 gomeiAppKey = "N0R033L2QQFR53" gomeiAppSecret = "686ffc3e31c24594838baed045563790" @@ -433,6 +439,9 @@ jxPrintAppKey = "rfBd56ti2SMtYvSg" storeName = "京西果园" tiktokAppKey = "tta6a1d01c399f264201" tiktokAppSecret = "5c08a0465cf0f996af254a03b6c2548defef87ad" + +tiktokJXDJKey="ttaceeda5333d7a7ab01" #京西到家抖音小程序 +tiktokJXDJSecret="9285b20dce3c46179204a5aa4d92ca96ee1ed5c9" #国美 gomeiAppKey = "N0R033L2QQFR53" gomeiAppSecret = "686ffc3e31c24594838baed045563790" @@ -618,6 +627,9 @@ jxPrintAppKey = "rfBd56ti2SMtYvSg" tiktokAppKey = "tta6a1d01c399f264201" tiktokAppSecret = "5c08a0465cf0f996af254a03b6c2548defef87ad" + +tiktokJXDJKey="ttaceeda5333d7a7ab01" #京西到家抖音小程序 +tiktokJXDJSecret="9285b20dce3c46179204a5aa4d92ca96ee1ed5c9" #国美 gomeiAppKey = "N0R033L2QQFR53" gomeiAppSecret = "686ffc3e31c24594838baed045563790" \ No newline at end of file