poi_page.PackagePriceUpdate

This commit is contained in:
gazebo
2019-12-30 16:30:21 +08:00
parent 548225b04b
commit 4d8c4d67d4
6 changed files with 75 additions and 11 deletions

View File

@@ -98,3 +98,18 @@ func TestPoiOpen(t *testing.T) {
t.Fatal(err)
}
}
func TestPackagePriceUpdate(t *testing.T) {
err := api.PackagePriceUpdate("2461723", 1, 50)
if err != nil {
t.Fatal(err)
}
}
func TestPackagePriceGet(t *testing.T) {
priceInfo, err := api.PackagePriceGet("2461723")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(priceInfo, false))
}