Refactor code

This commit is contained in:
wenxu12345 2021-12-29 12:06:26 +08:00
parent 447ccdf042
commit df861b59c1

View File

@ -35,7 +35,7 @@ type AddFriendResp struct {
type AddFriendResponseReq struct {
ParamsCommFriend
Flag int32 `json:"flag" binding:"required"`
Flag int32 `json:"flag" binding:"required, oneof=-1 1"`
HandleMsg string `json:"handleMsg"`
}
type AddFriendResponseResp struct {