add ParseToken

This commit is contained in:
wenxu12345
2022-05-10 11:57:25 +08:00
parent 74cea2b41c
commit 2dab5e4a78
2 changed files with 11 additions and 2 deletions
+10 -1
View File
@@ -42,7 +42,16 @@ type ParseTokenReq struct {
OperationID string `json:"operationID" binding:"required"`
}
//type ParseTokenResp struct {
// CommResp
// ExpireTime int64 `json:"expireTime" binding:"required"`
//}
type ExpireTime struct {
ExpireTimeSeconds int64 `json:"expireTimeSeconds" `
}
type ParseTokenResp struct {
CommResp
ExpireTime int64 `json:"expireTime" binding:"required"`
ExpireTime ExpireTime `json:"expireTime"`
}