- jd.GetSpuStatus added.

This commit is contained in:
gazebo
2019-01-02 15:46:40 +08:00
parent 4e0adf45d0
commit 2d525ea749
4 changed files with 39 additions and 1 deletions

View File

@@ -90,3 +90,17 @@ func TestSupplierList(t *testing.T) {
t.Log(utils.Format4Output(result, false))
}
}
func TestShopOnline(t *testing.T) {
err := api.ShopOnline("", testShopBaiduID)
if err != nil {
t.Fatal(err)
}
}
func TestShopOffline(t *testing.T) {
err := api.ShopOffline("", testShopBaiduID)
if err != nil {
t.Fatal(err)
}
}