This commit is contained in:
邹宗楠
2021-12-01 15:31:17 +08:00
parent a6f3437d4b
commit 30e9da9e33
9 changed files with 31 additions and 29 deletions

View File

@@ -322,6 +322,14 @@ func TestGetSpuStatus(t *testing.T) {
t.Log(utils.Format4Output(result, false))
}
func TestGetSkuStatus(t *testing.T) {
result, err := api.GetSkuStatus("6092943")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestUpdateSpuSaleAttr(t *testing.T) {
err := api.UpdateSpuSaleAttr("3628", "1001", "", "10", "hello")
if err != nil {