mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
Refactor code
This commit is contained in:
@@ -37,7 +37,7 @@ type AddFriendResponseReq struct {
|
||||
ParamsCommFriend
|
||||
//binding:"oneof=0 1 2"`
|
||||
//}
|
||||
Flag int32 `json:"flag" binding:"required,oneof=0 1"`
|
||||
Flag int32 `json:"flag" binding:"required,oneof=-1 0 1"`
|
||||
HandleMsg string `json:"handleMsg"`
|
||||
}
|
||||
type AddFriendResponseResp struct {
|
||||
|
||||
Reference in New Issue
Block a user