This commit is contained in:
邹宗楠
2022-10-06 18:03:48 +08:00
parent 44a663e8e5
commit 6692eca6f0

View File

@@ -68,6 +68,8 @@ func (a *APIManager) GetAPI(vendorID int, appOrgCode string) (pfAPI interface{})
tiktokApi := api.TiktokStore
codes, _ := dao.GetVendorOrgCode(db, vendorID, appOrgCode, "platform")
code := codes[0]
globals.SugarLogger.Debug("========================", code)
globals.SugarLogger.Debug("========================", code.Token)
tiktokApi.SetAccessToken(code.Token)
pfAPI = tiktokApi
}