提交 1e6a170c 编写于 作者: W wenxu12345

Refactor code

上级 887028a1
......@@ -176,7 +176,7 @@ func GetGroupAllMemberList(c *gin.Context) {
log.NewDebug(req.OperationID, "MarshalToString ", s, err)
m := ProtoToMap(memberListResp.MemberList[0], false)
log.NewDebug(req.OperationID, "mmm ", m)
memberListResp.Test = m
memberListResp.Test = append(memberListResp.Test, m)
}
log.NewInfo(req.OperationID, "GetGroupAllMember api return ", memberListResp)
......
......@@ -70,7 +70,7 @@ type GetGroupAllMemberReq struct {
type GetGroupAllMemberResp struct {
CommResp
MemberList []*open_im_sdk.GroupMemberFullInfo `json:"data"`
Test map[string]interface{} `json:"data2"`
Test []map[string]interface{} `json:"data2"`
}
type CreateGroupReq struct {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册