This commit is contained in:
邹宗楠
2022-05-30 18:41:56 +08:00
parent 65017f39b4
commit a8af8699f6
6 changed files with 168 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ func init() {
func (a *TiktopMiniAuther) VerifySecret(dummy, code string) (authBindEx *auth2.AuthBindEx, err error) {
globals.SugarLogger.Debugf("toktok mini VerifySecret jsCode:%s", code)
sessionInfo, err := api.TiktokApi.GetTiktokToken2(code)
sessionInfo, err := api.TiktokApi.GetTiktokOauth(code)
if err == nil {
sessionKey := sessionInfo.Data.SessionKey
sessionInfo.Data.SessionKey = ""