1
This commit is contained in:
@@ -102,6 +102,7 @@ func (a *API) GetCatePropertyV2(categoryLeftId int64) (*product_getCatePropertyV
|
|||||||
result, err := request.Execute(a.accessTokenObj)
|
result, err := request.Execute(a.accessTokenObj)
|
||||||
globals.SugarLogger.Debugf("根据类目id获取子节点属性=========:%s", request.GetUrlPath())
|
globals.SugarLogger.Debugf("根据类目id获取子节点属性=========:%s", request.GetUrlPath())
|
||||||
globals.SugarLogger.Debugf("根据类目id获取子节点属性:=%s", utils.Format4Output(result, false))
|
globals.SugarLogger.Debugf("根据类目id获取子节点属性:=%s", utils.Format4Output(result, false))
|
||||||
|
globals.SugarLogger.Debugf("根据类目id获取参数:=%d", categoryLeftId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ func TestCategory(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetCatePropertyV2(t *testing.T) {
|
func TestGetCatePropertyV2(t *testing.T) {
|
||||||
data, err := a.GetCatePropertyV2(35237)
|
data, err := a.GetCatePropertyV2(29073)
|
||||||
fmt.Println("err=====", err)
|
fmt.Println("err=====", err)
|
||||||
globals.SugarLogger.Debugf("data:=%s", utils.Format4Output(data, false))
|
globals.SugarLogger.Debugf("data:=%s", utils.Format4Output(data, false))
|
||||||
fmt.Println("data====", data) // 202209281558450102081001701D7B32C5
|
fmt.Println("data====", data) // 202209281558450102081001701D7B32C5
|
||||||
@@ -333,7 +333,7 @@ func TestGetSkuList(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetBrandId(t *testing.T) {
|
func TestGetBrandId(t *testing.T) {
|
||||||
a.GetSkuBrand(29146)
|
a.GetSkuBrand(29073)
|
||||||
}
|
}
|
||||||
|
|
||||||
func Test11111(t *testing.T) {
|
func Test11111(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user