fix failed to call api after refresh page

This commit is contained in:
MaysWind
2020-10-31 15:03:38 +08:00
parent be19089eab
commit f821787887
4 changed files with 56 additions and 13 deletions
+5
View File
@@ -18,6 +18,11 @@ type TokenRevokeRequest struct {
TokenId string `json:"tokenId" binding:"required,notBlank"`
}
type TokenRefreshResponse struct {
NewToken string `json:"newToken"`
OldTokenId string `json:"oldTokenId"`
}
type TokenInfoResponse struct {
TokenId string `json:"tokenId"`
TokenType core.TokenType `json:"tokenType"`