提交 7903dc7c 编写于 作者: W wenxu12345

Refactor code

上级 a8e13d86
...@@ -37,7 +37,7 @@ type AddFriendResponseReq struct { ...@@ -37,7 +37,7 @@ type AddFriendResponseReq struct {
ParamsCommFriend ParamsCommFriend
//binding:"oneof=0 1 2"` //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"` HandleMsg string `json:"handleMsg"`
} }
type AddFriendResponseResp struct { type AddFriendResponseResp struct {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册