Refactor code
This commit is contained in:
@@ -108,11 +108,12 @@ type GetGroupInfoResp struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ApplicationGroupResponseReq struct {
|
type ApplicationGroupResponseReq struct {
|
||||||
OperationID string `json:"operationID" binding:"required"`
|
OperationID string `json:"operationID" binding:"required"`
|
||||||
GroupID string `json:"groupID" binding:"required"`
|
GroupID string `json:"groupID" binding:"required"`
|
||||||
FromUserID string `json:"fromUserID" binding:"required"` //application from FromUserID
|
FromUserID string `json:"fromUserID" binding:"required"` //application from FromUserID
|
||||||
HandledMsg string `json:"handledMsg"`
|
HandledMsg string `json:"handledMsg"`
|
||||||
HandleResult int32 `json:"handleResult" binding:"required, oneof=-1 1"`
|
//`json:"flag" binding:"required,oneof=-1 0 1"`
|
||||||
|
HandleResult int32 `json:"handleResult" binding:"required,oneof=-1 1"`
|
||||||
}
|
}
|
||||||
type ApplicationGroupResponseResp struct {
|
type ApplicationGroupResponseResp struct {
|
||||||
CommResp
|
CommResp
|
||||||
|
|||||||
Reference in New Issue
Block a user