1
This commit is contained in:
@@ -206,6 +206,11 @@ func TestRetailGetSpTagIds(t *testing.T) {
|
||||
if len(result) == 0 {
|
||||
t.Fatal("should have items")
|
||||
}
|
||||
for _, v := range result {
|
||||
if v.Name == "神价商品" {
|
||||
fmt.Println(v)
|
||||
}
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
@@ -231,7 +236,7 @@ func TestBatchSetPrice(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRetailDelete(t *testing.T) {
|
||||
poiCode := "7954977"
|
||||
poiCode := "18877719"
|
||||
|
||||
i := 0
|
||||
count := 0
|
||||
@@ -477,7 +482,7 @@ func TestRetailSellStatus2(t *testing.T) {
|
||||
//根据分类id查询属性列表
|
||||
func TestCategoryAttrList(t *testing.T) {
|
||||
//result, err := api.CategoryAttrList(200002680)
|
||||
result, err := api.CategoryAttrList(200005790)
|
||||
result, err := api.CategoryAttrList(200005659)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -498,7 +503,7 @@ func TestCategoryAttrValueList(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRetailRecommendTag(t *testing.T) {
|
||||
result, err := api.RetailRecommendTag("长豆角", "", 0, 1)
|
||||
result, err := api.RetailRecommendTag("碱粽子", "", 200004956, 2)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user