搜索商品修改
This commit is contained in:
@@ -307,7 +307,7 @@ func TestImageUpdate(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSearchWare4Valid(t *testing.T) {
|
||||
result, err := api.SearchWare4Valid("")
|
||||
result, err := api.SearchWare4Valid("红薯", 0, 0)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -377,9 +377,10 @@ func TestUpdateWareMarketPrice(t *testing.T) {
|
||||
// t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestBB(t *testing.T) {
|
||||
result, _ := api.SearchWare4Valid("")
|
||||
for _, v := range result.Data {
|
||||
api.UpdateWareMarketPrice(v.WareID, 500)
|
||||
func TestFindOpReason(t *testing.T) {
|
||||
err := api.FindOpReason(14519009105)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
// t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user