This commit is contained in:
邹宗楠
2024-06-17 09:42:09 +08:00
parent bc71a1f1d9
commit bbc344763f
10 changed files with 42 additions and 29 deletions

View File

@@ -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)
}