This commit is contained in:
suyl
2021-04-26 17:06:37 +08:00
parent 763a6f35e9
commit 9084b0c0fc
2 changed files with 79 additions and 0 deletions

View File

@@ -20,3 +20,19 @@ func TestActivityOperationList(t *testing.T) {
}
t.Log(utils.Format4Output(result, false))
}
func TestRpPromURLGenerate(t *testing.T) {
result, err := api.RpPromURLGenerate("14501219_204919171")
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestResourceURLGen(t *testing.T) {
result, err := api.ResourceURLGen("14501219_204919171", resouceTypeBYBT)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}