Refactor code

pull/131/head
wenxu12345 3 years ago
parent a8e13d86e2
commit 7903dc7c2e

@ -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 {

Loading…
Cancel
Save