diff --git a/platformapi/tiktok_shop/tiktok_api/store.go b/platformapi/tiktok_shop/tiktok_api/store.go index d1a2bfd2..d733b453 100644 --- a/platformapi/tiktok_shop/tiktok_api/store.go +++ b/platformapi/tiktok_shop/tiktok_api/store.go @@ -628,7 +628,7 @@ func (a *API) GetStorePackageFee(storeID int64) (int64, error) { return 0, errors.New(result.LogId + ":" + result.SubMsg) } globals.SugarLogger.Debugf("GetStorePackageFee test resullt:%s", utils.Format4Output(result, false)) - if result.Data == nil { + if result.Data.PackageFee == nil || result.Data == nil { return 0, err } else { return result.Data.PackageFee.Amount, nil