1
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user