aa
This commit is contained in:
22
platformapi/pddapi/sku_test.go
Normal file
22
platformapi/pddapi/sku_test.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package pddapi
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGoodsCatsGet(t *testing.T) {
|
||||
result, err := api.GoodsCatsGet(0)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestGoodsSearch(t *testing.T) {
|
||||
result, err := api.GoodsSearch(0, nil, "", "", 1, 5, 0)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
Reference in New Issue
Block a user