add ParseToken

This commit is contained in:
wenxu12345
2022-05-10 09:45:55 +08:00
parent deed6c7bbe
commit 7de29c29e9
4 changed files with 45 additions and 1 deletions
+9
View File
@@ -37,3 +37,12 @@ type UserTokenResp struct {
CommResp
UserToken UserTokenInfo `json:"data"`
}
type ParseTokenReq struct {
OperationID string `json:"operationID" binding:"required"`
}
type ParseTokenResp struct {
CommResp
ExpireTime int64 `json:"token" binding:"required"`
}