Refactor code

pull/131/head
wenxu12345 3 years ago
parent 8e173d8273
commit a8e13d86e2

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

Loading…
Cancel
Save