mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
set max PlatformID = 9
This commit is contained in:
parent
64e1361ef5
commit
5b06791a6c
@ -28,7 +28,7 @@ type UserRegisterResp struct {
|
||||
|
||||
type UserTokenReq struct {
|
||||
Secret string `json:"secret" binding:"required,max=32"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=8"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=9"`
|
||||
UserID string `json:"userID" binding:"required,min=1,max=64"`
|
||||
LoginIp string `json:"loginIp"`
|
||||
OperationID string `json:"operationID" binding:"required"`
|
||||
@ -40,7 +40,7 @@ type UserTokenResp struct {
|
||||
}
|
||||
|
||||
type ForceLogoutReq struct {
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=8"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=9"`
|
||||
FromUserID string `json:"fromUserID" binding:"required,min=1,max=64"`
|
||||
OperationID string `json:"operationID" binding:"required"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user