Refactor code

This commit is contained in:
wenxu12345
2021-12-29 13:30:50 +08:00
parent 8e173d8273
commit a8e13d86e2
+3 -1
View File
@@ -35,7 +35,9 @@ type AddFriendResp struct {
type AddFriendResponseReq struct {
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"`
}
type AddFriendResponseResp struct {