This commit is contained in:
邹宗楠
2022-10-07 10:18:28 +08:00
parent 6692eca6f0
commit 8d75aefca3
2 changed files with 1 additions and 3 deletions

View File

@@ -433,7 +433,7 @@ func (P *PurchaseHandler) ReadStore(ctx *jxcontext.Context, vendorOrgCode, vendo
if err != nil {
return nil, err
}
globals.SugarLogger.Debug("======================", vendorStore)
// globals.SugarLogger.Debug(utils.Format4Output(result, false))
retVal := &dao.StoreDetail{
Store: model.Store{

View File

@@ -68,8 +68,6 @@ 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
}