mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Refactor code
This commit is contained in:
parent
1c362e4871
commit
7f00a3075f
@ -1,7 +1,6 @@
|
|||||||
package base_info
|
package base_info
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"Open_IM/pkg/common/db"
|
|
||||||
open_im_sdk "Open_IM/pkg/proto/sdk_ws"
|
open_im_sdk "Open_IM/pkg/proto/sdk_ws"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -143,7 +142,12 @@ type QuitGroupResp struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SetGroupInfoReq struct {
|
type SetGroupInfoReq struct {
|
||||||
db.Group
|
GroupID string `json:"groupID" binding:"required"`
|
||||||
|
GroupName string `json:"groupName"`
|
||||||
|
Notification string `json:"notification"`
|
||||||
|
Introduction string `json:"introduction"`
|
||||||
|
FaceURL string `json:"faceURL"`
|
||||||
|
Ex string `json:"ex"`
|
||||||
OperationID string `json:"operationID" binding:"required"`
|
OperationID string `json:"operationID" binding:"required"`
|
||||||
}
|
}
|
||||||
type SetGroupInfoResp struct {
|
type SetGroupInfoResp struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user