1
This commit is contained in:
@@ -65,7 +65,7 @@ func TestSkuList(t *testing.T) {
|
|||||||
PageSize: 100,
|
PageSize: 100,
|
||||||
SkuIdOffset: skuIdOffset,
|
SkuIdOffset: skuIdOffset,
|
||||||
}
|
}
|
||||||
foodList, err := api.SkuList(utils.Int2Str(102778), param)
|
foodList, err := api.SkuList(utils.Int2Str(100002), param)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestSkuCategoryList(t *testing.T) {
|
func TestSkuCategoryList(t *testing.T) {
|
||||||
result, err := api.SkuCategoryList("白菜", 1, 0)
|
result, err := api.SkuCategoryList("巧福娃 香辣味麻酱大宽粉 30克/袋", 1, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ func init() {
|
|||||||
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
||||||
|
|
||||||
//商超
|
//商超
|
||||||
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_ouN_SJj1m7HALrIdnQFHlQ")
|
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_hGnQOvCSkfrCOXFLHA1NMQ")
|
||||||
//cookieStr := `
|
//cookieStr := `
|
||||||
// acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
|
// acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
|
||||||
//`
|
//`
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -27,7 +27,7 @@ func TestRetailCatUpdate(t *testing.T) {
|
|||||||
|
|
||||||
// 测试获取门店分类列表
|
// 测试获取门店分类列表
|
||||||
func TestRetailCatList(t *testing.T) {
|
func TestRetailCatList(t *testing.T) {
|
||||||
result, err := api.RetailCatList("19696163")
|
result, err := api.RetailCatList("26242063")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
@@ -239,7 +239,7 @@ func TestBatchSetPrice(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestRetailDelete(t *testing.T) {
|
func TestRetailDelete(t *testing.T) {
|
||||||
poiCode := "9206018"
|
poiCode := "26242063"
|
||||||
|
|
||||||
i := 0
|
i := 0
|
||||||
count := 0
|
count := 0
|
||||||
|
|||||||
Reference in New Issue
Block a user