From 9782802bd85defa5b924efea5c8836e2b490484e Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Fri, 31 Dec 2021 11:01:48 +0800 Subject: [PATCH] Refactor code --- pkg/base_info/group_api_struct.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/base_info/group_api_struct.go b/pkg/base_info/group_api_struct.go index 68b19f93a..e4be9d179 100644 --- a/pkg/base_info/group_api_struct.go +++ b/pkg/base_info/group_api_struct.go @@ -1,7 +1,7 @@ package base_info import ( - imdb "Open_IM/pkg/common/db/mysql_model/im_mysql_model" + "Open_IM/pkg/common/db" open_im_sdk "Open_IM/pkg/proto/sdk_ws" ) @@ -138,7 +138,7 @@ type QuitGroupResp struct { } type SetGroupInfoReq struct { - imdb.Group + db.Group OperationID string `json:"operationID" binding:"required"` } type SetGroupInfoResp struct {