This commit is contained in:
邹宗楠
2022-11-08 15:53:14 +08:00
parent 63fd5b86c1
commit 5159195497
2 changed files with 3 additions and 2 deletions

View File

@@ -102,6 +102,7 @@ func (a *API) GetCatePropertyV2(categoryLeftId int64) (*product_getCatePropertyV
result, err := request.Execute(a.accessTokenObj)
globals.SugarLogger.Debugf("根据类目id获取子节点属性=========:%s", request.GetUrlPath())
globals.SugarLogger.Debugf("根据类目id获取子节点属性:=%s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("根据类目id获取参数:=%d", categoryLeftId)
if err != nil {
return nil, err
}

View File

@@ -38,7 +38,7 @@ func TestCategory(t *testing.T) {
}
func TestGetCatePropertyV2(t *testing.T) {
data, err := a.GetCatePropertyV2(35237)
data, err := a.GetCatePropertyV2(29073)
fmt.Println("err=====", err)
globals.SugarLogger.Debugf("data:=%s", utils.Format4Output(data, false))
fmt.Println("data====", data) // 202209281558450102081001701D7B32C5
@@ -333,7 +333,7 @@ func TestGetSkuList(t *testing.T) {
}
func TestGetBrandId(t *testing.T) {
a.GetSkuBrand(29146)
a.GetSkuBrand(29073)
}
func Test11111(t *testing.T) {