- dingding.GetJSAPITicket

This commit is contained in:
gazebo
2019-04-15 12:41:55 +08:00
parent 656db605de
commit 13c5f5378f
3 changed files with 22 additions and 1 deletions

View File

@@ -29,3 +29,11 @@ func TestRetrieveToken(t *testing.T) {
}
sugarLogger.Debug(result)
}
func TestGetJSAPITicket(t *testing.T) {
expiresIn, ticket, err := api.GetJSAPITicket("")
if err != nil {
t.Fatal(err.Error())
}
sugarLogger.Debug(expiresIn, ticket)
}