mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-03 08:16:55 +08:00
fix bug
This commit is contained in:
parent
41b7e5f32d
commit
9fed812872
@ -27,7 +27,7 @@ type ParamsSetPassword struct {
|
||||
PhoneNumber string `json:"phoneNumber"`
|
||||
Password string `json:"password" binding:"required"`
|
||||
VerificationCode string `json:"verificationCode"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=9"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=12"`
|
||||
Ex string `json:"ex"`
|
||||
FaceURL string `json:"faceURL"`
|
||||
OperationID string `json:"operationID" binding:"required"`
|
||||
|
@ -11,7 +11,7 @@ package base_info
|
||||
|
||||
type UserRegisterReq struct {
|
||||
Secret string `json:"secret" binding:"required,max=32"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=7"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=12"`
|
||||
ApiUserInfo
|
||||
OperationID string `json:"operationID" binding:"required"`
|
||||
}
|
||||
@ -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=9"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=12"`
|
||||
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=9"`
|
||||
Platform int32 `json:"platform" binding:"required,min=1,max=12"`
|
||||
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