diff --git a/cmd/open_im_api/docs/docs.go b/cmd/open_im_api/docs/docs.go
index db9817fad..5d7cff87e 100644
--- a/cmd/open_im_api/docs/docs.go
+++ b/cmd/open_im_api/docs/docs.go
@@ -48,7 +48,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ForceLogoutReq"
+ "$ref": "#/definitions/api_struct.ForceLogoutReq"
}
}
],
@@ -56,19 +56,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.ForceLogoutResp"
+ "$ref": "#/definitions/api_struct.ForceLogoutResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -102,7 +102,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ParseTokenReq"
+ "$ref": "#/definitions/api_struct.ParseTokenReq"
}
}
],
@@ -112,13 +112,13 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ParseTokenResp"
+ "$ref": "#/definitions/api_struct.ParseTokenResp"
},
{
"type": "object",
"properties": {
"Data": {
- "$ref": "#/definitions/base_info.ExpireTime"
+ "$ref": "#/definitions/api_struct.ExpireTime"
}
}
}
@@ -128,13 +128,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -161,7 +161,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UserRegisterReq"
+ "$ref": "#/definitions/api_struct.UserRegisterReq"
}
}
],
@@ -169,19 +169,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UserRegisterResp"
+ "$ref": "#/definitions/api_struct.UserRegisterResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -208,7 +208,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UserTokenReq"
+ "$ref": "#/definitions/api_struct.UserTokenReq"
}
}
],
@@ -216,19 +216,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UserTokenResp"
+ "$ref": "#/definitions/api_struct.UserTokenResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -262,7 +262,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AddBlacklistReq"
+ "$ref": "#/definitions/api_struct.AddBlacklistReq"
}
}
],
@@ -270,19 +270,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AddBlacklistResp"
+ "$ref": "#/definitions/api_struct.AddBlacklistResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -316,7 +316,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AddFriendReq"
+ "$ref": "#/definitions/api_struct.AddFriendReq"
}
}
],
@@ -324,19 +324,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AddFriendResp"
+ "$ref": "#/definitions/api_struct.AddFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -370,7 +370,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AddFriendResponseReq"
+ "$ref": "#/definitions/api_struct.AddFriendResponseReq"
}
}
],
@@ -378,19 +378,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AddFriendResponseResp"
+ "$ref": "#/definitions/api_struct.AddFriendResponseResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -424,7 +424,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteFriendReq"
+ "$ref": "#/definitions/api_struct.DeleteFriendReq"
}
}
],
@@ -432,19 +432,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteFriendResp"
+ "$ref": "#/definitions/api_struct.DeleteFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -478,7 +478,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetBlackListReq"
+ "$ref": "#/definitions/api_struct.GetBlackListReq"
}
}
],
@@ -488,7 +488,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetBlackListResp"
+ "$ref": "#/definitions/api_struct.GetBlackListResp"
},
{
"type": "object",
@@ -507,13 +507,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
}
}
@@ -547,7 +547,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetFriendApplyListReq"
+ "$ref": "#/definitions/api_struct.GetFriendApplyListReq"
}
}
],
@@ -557,7 +557,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetFriendApplyListResp"
+ "$ref": "#/definitions/api_struct.GetFriendApplyListResp"
},
{
"type": "object",
@@ -576,13 +576,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
}
}
@@ -616,7 +616,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetFriendListReq"
+ "$ref": "#/definitions/api_struct.GetFriendListReq"
}
}
],
@@ -626,7 +626,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetFriendListResp"
+ "$ref": "#/definitions/api_struct.GetFriendListResp"
},
{
"type": "object",
@@ -645,13 +645,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -685,7 +685,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetSelfApplyListReq"
+ "$ref": "#/definitions/api_struct.GetSelfApplyListReq"
}
}
],
@@ -695,7 +695,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetSelfApplyListResp"
+ "$ref": "#/definitions/api_struct.GetSelfApplyListResp"
},
{
"type": "object",
@@ -714,13 +714,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -754,7 +754,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ImportFriendReq"
+ "$ref": "#/definitions/api_struct.ImportFriendReq"
}
}
],
@@ -762,19 +762,19 @@ const docTemplate = `{
"0": {
"description": "data列表中对象的result-1为添加该用户失败\u003cbr\u003e0为成功",
"schema": {
- "$ref": "#/definitions/base_info.ImportFriendResp"
+ "$ref": "#/definitions/api_struct.ImportFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -808,7 +808,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.IsFriendReq"
+ "$ref": "#/definitions/api_struct.IsFriendReq"
}
}
],
@@ -816,19 +816,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.IsFriendResp"
+ "$ref": "#/definitions/api_struct.IsFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -862,7 +862,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.RemoveBlackListReq"
+ "$ref": "#/definitions/api_struct.RemoveBlackListReq"
}
}
],
@@ -870,19 +870,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.RemoveBlackListResp"
+ "$ref": "#/definitions/api_struct.RemoveBlackListResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -916,7 +916,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetFriendRemarkReq"
+ "$ref": "#/definitions/api_struct.SetFriendRemarkReq"
}
}
],
@@ -924,19 +924,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetFriendRemarkResp"
+ "$ref": "#/definitions/api_struct.SetFriendRemarkResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -970,7 +970,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupReq"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupReq"
}
}
],
@@ -978,19 +978,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupResp"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1024,7 +1024,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupMemberReq"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupMemberReq"
}
}
],
@@ -1032,19 +1032,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupMemberResp"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupMemberResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1078,7 +1078,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateGroupReq"
+ "$ref": "#/definitions/api_struct.CreateGroupReq"
}
}
],
@@ -1088,7 +1088,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.CreateGroupResp"
+ "$ref": "#/definitions/api_struct.CreateGroupResp"
},
{
"type": "object",
@@ -1104,13 +1104,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1144,7 +1144,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DismissGroupReq"
+ "$ref": "#/definitions/api_struct.DismissGroupReq"
}
}
],
@@ -1152,19 +1152,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DismissGroupResp"
+ "$ref": "#/definitions/api_struct.DismissGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1198,7 +1198,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupAllMemberReq"
+ "$ref": "#/definitions/api_struct.GetGroupAllMemberReq"
}
}
],
@@ -1208,7 +1208,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupAllMemberResp"
+ "$ref": "#/definitions/api_struct.GetGroupAllMemberResp"
},
{
"type": "object",
@@ -1227,13 +1227,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1267,7 +1267,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupMembersInfoReq"
+ "$ref": "#/definitions/api_struct.GetGroupMembersInfoReq"
}
}
],
@@ -1277,7 +1277,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupMembersInfoResp"
+ "$ref": "#/definitions/api_struct.GetGroupMembersInfoResp"
},
{
"type": "object",
@@ -1296,13 +1296,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1336,7 +1336,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupInfoReq"
+ "$ref": "#/definitions/api_struct.GetGroupInfoReq"
}
}
],
@@ -1344,19 +1344,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetGroupInfoResp"
+ "$ref": "#/definitions/api_struct.GetGroupInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1390,7 +1390,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetJoinedGroupListReq"
+ "$ref": "#/definitions/api_struct.GetJoinedGroupListReq"
}
}
],
@@ -1400,7 +1400,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetJoinedGroupListResp"
+ "$ref": "#/definitions/api_struct.GetJoinedGroupListResp"
},
{
"type": "object",
@@ -1419,13 +1419,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1459,7 +1459,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupApplicationListReq"
+ "$ref": "#/definitions/api_struct.GetGroupApplicationListReq"
}
}
],
@@ -1469,7 +1469,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupApplicationListResp"
+ "$ref": "#/definitions/api_struct.GetGroupApplicationListResp"
},
{
"type": "object",
@@ -1488,13 +1488,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1528,7 +1528,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserReqGroupApplicationListReq"
+ "$ref": "#/definitions/api_struct.GetUserReqGroupApplicationListReq"
}
}
],
@@ -1538,7 +1538,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupApplicationListResp"
+ "$ref": "#/definitions/api_struct.GetGroupApplicationListResp"
},
{
"type": "object",
@@ -1557,13 +1557,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1597,7 +1597,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ApplicationGroupResponseReq"
+ "$ref": "#/definitions/api_struct.ApplicationGroupResponseReq"
}
}
],
@@ -1605,19 +1605,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.ApplicationGroupResponseResp"
+ "$ref": "#/definitions/api_struct.ApplicationGroupResponseResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1651,7 +1651,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.InviteUserToGroupReq"
+ "$ref": "#/definitions/api_struct.InviteUserToGroupReq"
}
}
],
@@ -1659,19 +1659,19 @@ const docTemplate = `{
"0": {
"description": "result为结果码, -1为失败, 0为成功",
"schema": {
- "$ref": "#/definitions/base_info.InviteUserToGroupResp"
+ "$ref": "#/definitions/api_struct.InviteUserToGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1705,7 +1705,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.JoinGroupReq"
+ "$ref": "#/definitions/api_struct.JoinGroupReq"
}
}
],
@@ -1713,19 +1713,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.JoinGroupResp"
+ "$ref": "#/definitions/api_struct.JoinGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1759,7 +1759,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.KickGroupMemberReq"
+ "$ref": "#/definitions/api_struct.KickGroupMemberReq"
}
}
],
@@ -1767,19 +1767,19 @@ const docTemplate = `{
"0": {
"description": "result为结果码, -1为失败, 0为成功",
"schema": {
- "$ref": "#/definitions/base_info.KickGroupMemberResp"
+ "$ref": "#/definitions/api_struct.KickGroupMemberResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1813,7 +1813,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupReq"
+ "$ref": "#/definitions/api_struct.MuteGroupReq"
}
}
],
@@ -1821,19 +1821,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupResp"
+ "$ref": "#/definitions/api_struct.MuteGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupResp"
+ "$ref": "#/definitions/api_struct.MuteGroupResp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupResp"
+ "$ref": "#/definitions/api_struct.MuteGroupResp"
}
}
}
@@ -1867,7 +1867,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupMemberReq"
+ "$ref": "#/definitions/api_struct.MuteGroupMemberReq"
}
}
],
@@ -1875,19 +1875,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DismissGroupResp"
+ "$ref": "#/definitions/api_struct.DismissGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1921,7 +1921,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.QuitGroupReq"
+ "$ref": "#/definitions/api_struct.QuitGroupReq"
}
}
],
@@ -1929,19 +1929,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.QuitGroupResp"
+ "$ref": "#/definitions/api_struct.QuitGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1975,7 +1975,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetGroupInfoReq"
+ "$ref": "#/definitions/api_struct.SetGroupInfoReq"
}
}
],
@@ -1983,19 +1983,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetGroupInfoResp"
+ "$ref": "#/definitions/api_struct.SetGroupInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2029,7 +2029,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetGroupMemberInfoReq"
+ "$ref": "#/definitions/api_struct.SetGroupMemberInfoReq"
}
}
],
@@ -2037,19 +2037,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetGroupMemberInfoResp"
+ "$ref": "#/definitions/api_struct.SetGroupMemberInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2083,7 +2083,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.TransferGroupOwnerReq"
+ "$ref": "#/definitions/api_struct.TransferGroupOwnerReq"
}
}
],
@@ -2091,19 +2091,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.TransferGroupOwnerResp"
+ "$ref": "#/definitions/api_struct.TransferGroupOwnerResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2139,7 +2139,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
},
{
"type": "object",
@@ -2160,7 +2160,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2178,19 +2178,19 @@ const docTemplate = `{
"0": {
"description": "serverMsgID为服务器消息ID \u003cbr\u003e clientMsgID为客户端消息ID \u003cbr\u003e sendTime为发送消息时间",
"schema": {
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
}
}
}
@@ -2224,7 +2224,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CleanUpMsgReq"
+ "$ref": "#/definitions/api_struct.CleanUpMsgReq"
}
}
],
@@ -2232,19 +2232,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CleanUpMsgResp"
+ "$ref": "#/definitions/api_struct.CleanUpMsgResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2278,7 +2278,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DelMsgReq"
+ "$ref": "#/definitions/api_struct.DelMsgReq"
}
}
],
@@ -2286,19 +2286,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DelMsgResp"
+ "$ref": "#/definitions/api_struct.DelMsgResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2332,7 +2332,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetAllConversationsReq"
+ "$ref": "#/definitions/api_struct.GetAllConversationsReq"
}
}
],
@@ -2340,19 +2340,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetAllConversationsResp"
+ "$ref": "#/definitions/api_struct.GetAllConversationsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2386,7 +2386,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetConversationReq"
+ "$ref": "#/definitions/api_struct.GetConversationReq"
}
}
],
@@ -2394,19 +2394,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetConversationResp"
+ "$ref": "#/definitions/api_struct.GetConversationResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2440,7 +2440,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetConversationsReq"
+ "$ref": "#/definitions/api_struct.GetConversationsReq"
}
}
],
@@ -2448,19 +2448,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetConversationsResp"
+ "$ref": "#/definitions/api_struct.GetConversationsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2496,7 +2496,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2517,7 +2517,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2538,7 +2538,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2556,19 +2556,19 @@ const docTemplate = `{
"0": {
"description": "serverMsgID为服务器消息ID \u003cbr\u003e clientMsgID为客户端消息ID \u003cbr\u003e sendTime为发送消息时间",
"schema": {
- "$ref": "#/definitions/base_info.ManagementSendMsgResp"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.ManagementSendMsgResp"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgResp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.ManagementSendMsgResp"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgResp"
}
}
}
@@ -2602,7 +2602,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CommentOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.CommentOneWorkMomentReq"
}
}
],
@@ -2610,19 +2610,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CommentOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.CommentOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2656,7 +2656,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.CreateOneWorkMomentReq"
}
}
],
@@ -2664,19 +2664,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.CreateOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2710,7 +2710,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateTagReq"
+ "$ref": "#/definitions/api_struct.CreateTagReq"
}
}
],
@@ -2718,19 +2718,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateTagResp"
+ "$ref": "#/definitions/api_struct.CreateTagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2764,7 +2764,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteCommentReq"
+ "$ref": "#/definitions/api_struct.DeleteCommentReq"
}
}
],
@@ -2772,19 +2772,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteCommentResp"
+ "$ref": "#/definitions/api_struct.DeleteCommentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2818,7 +2818,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.DeleteOneWorkMomentReq"
}
}
],
@@ -2826,19 +2826,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.DeleteOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2872,7 +2872,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteTagReq"
+ "$ref": "#/definitions/api_struct.DeleteTagReq"
}
}
],
@@ -2880,19 +2880,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteTagResp"
+ "$ref": "#/definitions/api_struct.DeleteTagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2926,7 +2926,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetTagSendLogsReq"
+ "$ref": "#/definitions/api_struct.GetTagSendLogsReq"
}
}
],
@@ -2934,19 +2934,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetTagSendLogsResp"
+ "$ref": "#/definitions/api_struct.GetTagSendLogsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2980,7 +2980,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserFriendWorkMomentsReq"
+ "$ref": "#/definitions/api_struct.GetUserFriendWorkMomentsReq"
}
}
],
@@ -2988,19 +2988,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserFriendWorkMomentsResp"
+ "$ref": "#/definitions/api_struct.GetUserFriendWorkMomentsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3034,7 +3034,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagByIDReq"
+ "$ref": "#/definitions/api_struct.GetUserTagByIDReq"
}
}
],
@@ -3042,19 +3042,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagByIDResp"
+ "$ref": "#/definitions/api_struct.GetUserTagByIDResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3088,7 +3088,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagsReq"
+ "$ref": "#/definitions/api_struct.GetUserTagsReq"
}
}
],
@@ -3096,19 +3096,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagsResp"
+ "$ref": "#/definitions/api_struct.GetUserTagsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3142,7 +3142,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserWorkMomentsReq"
+ "$ref": "#/definitions/api_struct.GetUserWorkMomentsReq"
}
}
],
@@ -3150,19 +3150,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserWorkMomentsResp"
+ "$ref": "#/definitions/api_struct.GetUserWorkMomentsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3196,7 +3196,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetWorkMomentByIDReq"
+ "$ref": "#/definitions/api_struct.GetWorkMomentByIDReq"
}
}
],
@@ -3204,19 +3204,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetWorkMomentByIDResp"
+ "$ref": "#/definitions/api_struct.GetWorkMomentByIDResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3250,7 +3250,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.LikeOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.LikeOneWorkMomentReq"
}
}
],
@@ -3258,19 +3258,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.LikeOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.LikeOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3304,7 +3304,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SendMsg2TagReq"
+ "$ref": "#/definitions/api_struct.SendMsg2TagReq"
}
}
],
@@ -3312,19 +3312,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SendMsg2TagResp"
+ "$ref": "#/definitions/api_struct.SendMsg2TagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3358,7 +3358,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetTagReq"
+ "$ref": "#/definitions/api_struct.SetTagReq"
}
}
],
@@ -3366,19 +3366,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetTagResp"
+ "$ref": "#/definitions/api_struct.SetTagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3412,7 +3412,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateDepartmentReq"
+ "$ref": "#/definitions/api_struct.CreateDepartmentReq"
}
}
],
@@ -3422,7 +3422,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.CreateDepartmentResp"
+ "$ref": "#/definitions/api_struct.CreateDepartmentResp"
},
{
"type": "object",
@@ -3438,13 +3438,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3478,7 +3478,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateDepartmentMemberReq"
+ "$ref": "#/definitions/api_struct.CreateDepartmentMemberReq"
}
}
],
@@ -3486,19 +3486,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateDepartmentMemberResp"
+ "$ref": "#/definitions/api_struct.CreateDepartmentMemberResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3532,7 +3532,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateOrganizationUserReq"
+ "$ref": "#/definitions/api_struct.CreateOrganizationUserReq"
}
}
],
@@ -3540,19 +3540,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateOrganizationUserResp"
+ "$ref": "#/definitions/api_struct.CreateOrganizationUserResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3586,7 +3586,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteDepartmentReq"
+ "$ref": "#/definitions/api_struct.DeleteDepartmentReq"
}
}
],
@@ -3594,19 +3594,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteDepartmentResp"
+ "$ref": "#/definitions/api_struct.DeleteDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3640,7 +3640,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteOrganizationUserReq"
+ "$ref": "#/definitions/api_struct.DeleteOrganizationUserReq"
}
}
],
@@ -3648,19 +3648,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteOrganizationUserResp"
+ "$ref": "#/definitions/api_struct.DeleteOrganizationUserResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3694,7 +3694,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteUserInDepartmentReq"
+ "$ref": "#/definitions/api_struct.DeleteUserInDepartmentReq"
}
}
],
@@ -3702,19 +3702,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteUserInDepartmentResp"
+ "$ref": "#/definitions/api_struct.DeleteUserInDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3748,7 +3748,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetDepartmentMemberReq"
+ "$ref": "#/definitions/api_struct.GetDepartmentMemberReq"
}
}
],
@@ -3758,7 +3758,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetDepartmentMemberResp"
+ "$ref": "#/definitions/api_struct.GetDepartmentMemberResp"
},
{
"type": "object",
@@ -3777,13 +3777,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3817,7 +3817,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetSubDepartmentReq"
+ "$ref": "#/definitions/api_struct.GetSubDepartmentReq"
}
}
],
@@ -3827,7 +3827,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetSubDepartmentResp"
+ "$ref": "#/definitions/api_struct.GetSubDepartmentResp"
},
{
"type": "object",
@@ -3846,13 +3846,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3886,7 +3886,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserInDepartmentReq"
+ "$ref": "#/definitions/api_struct.GetUserInDepartmentReq"
}
}
],
@@ -3896,7 +3896,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetUserInDepartmentResp"
+ "$ref": "#/definitions/api_struct.GetUserInDepartmentResp"
},
{
"type": "object",
@@ -3912,13 +3912,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3952,7 +3952,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateDepartmentReq"
+ "$ref": "#/definitions/api_struct.UpdateDepartmentReq"
}
}
],
@@ -3960,19 +3960,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateDepartmentResp"
+ "$ref": "#/definitions/api_struct.UpdateDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4006,7 +4006,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateOrganizationUserReq"
+ "$ref": "#/definitions/api_struct.UpdateOrganizationUserReq"
}
}
],
@@ -4014,19 +4014,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateOrganizationUserResp"
+ "$ref": "#/definitions/api_struct.UpdateOrganizationUserResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4060,7 +4060,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateUserInDepartmentReq"
+ "$ref": "#/definitions/api_struct.UpdateUserInDepartmentReq"
}
}
],
@@ -4068,19 +4068,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateUserInDepartmentResp"
+ "$ref": "#/definitions/api_struct.UpdateUserInDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4134,19 +4134,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.MinioUploadFileResp"
+ "$ref": "#/definitions/api_struct.MinioUploadFileResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4180,7 +4180,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AccountCheckReq"
+ "$ref": "#/definitions/api_struct.AccountCheckReq"
}
}
],
@@ -4188,19 +4188,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AccountCheckResp"
+ "$ref": "#/definitions/api_struct.AccountCheckResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4234,7 +4234,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetAllUsersUidReq"
+ "$ref": "#/definitions/api_struct.GetAllUsersUidReq"
}
}
],
@@ -4242,19 +4242,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetAllUsersUidResp"
+ "$ref": "#/definitions/api_struct.GetAllUsersUidResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4288,7 +4288,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetSelfUserInfoReq"
+ "$ref": "#/definitions/api_struct.GetSelfUserInfoReq"
}
}
],
@@ -4298,7 +4298,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetSelfUserInfoResp"
+ "$ref": "#/definitions/api_struct.GetSelfUserInfoResp"
},
{
"type": "object",
@@ -4314,13 +4314,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4354,7 +4354,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUsersInfoReq"
+ "$ref": "#/definitions/api_struct.GetUsersInfoReq"
}
}
],
@@ -4364,7 +4364,7 @@ const docTemplate = `{
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetUsersInfoResp"
+ "$ref": "#/definitions/api_struct.GetUsersInfoResp"
},
{
"type": "object",
@@ -4383,13 +4383,13 @@ const docTemplate = `{
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4423,7 +4423,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUsersOnlineStatusReq"
+ "$ref": "#/definitions/api_struct.GetUsersOnlineStatusReq"
}
}
],
@@ -4431,19 +4431,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUsersOnlineStatusResp"
+ "$ref": "#/definitions/api_struct.GetUsersOnlineStatusResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4477,7 +4477,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetGlobalRecvMessageOptReq"
+ "$ref": "#/definitions/api_struct.SetGlobalRecvMessageOptReq"
}
}
],
@@ -4485,19 +4485,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetGlobalRecvMessageOptResp"
+ "$ref": "#/definitions/api_struct.SetGlobalRecvMessageOptResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4531,7 +4531,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateSelfUserInfoReq"
+ "$ref": "#/definitions/api_struct.UpdateSelfUserInfoReq"
}
}
],
@@ -4539,19 +4539,19 @@ const docTemplate = `{
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateUserInfoResp"
+ "$ref": "#/definitions/api_struct.UpdateUserInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4745,7 +4745,7 @@ const docTemplate = `{
}
}
},
- "base_info.AccountCheckReq": {
+ "api_struct.AccountCheckReq": {
"type": "object",
"required": [
"checkUserIDList",
@@ -4764,7 +4764,7 @@ const docTemplate = `{
}
}
},
- "base_info.AccountCheckResp": {
+ "api_struct.AccountCheckResp": {
"type": "object",
"properties": {
"data": {
@@ -4781,7 +4781,7 @@ const docTemplate = `{
}
}
},
- "base_info.AddBlacklistReq": {
+ "api_struct.AddBlacklistReq": {
"type": "object",
"required": [
"fromUserID",
@@ -4800,7 +4800,7 @@ const docTemplate = `{
}
}
},
- "base_info.AddBlacklistResp": {
+ "api_struct.AddBlacklistResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4811,7 +4811,7 @@ const docTemplate = `{
}
}
},
- "base_info.AddFriendReq": {
+ "api_struct.AddFriendReq": {
"type": "object",
"required": [
"fromUserID",
@@ -4833,7 +4833,7 @@ const docTemplate = `{
}
}
},
- "base_info.AddFriendResp": {
+ "api_struct.AddFriendResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4844,7 +4844,7 @@ const docTemplate = `{
}
}
},
- "base_info.AddFriendResponseReq": {
+ "api_struct.AddFriendResponseReq": {
"type": "object",
"required": [
"flag",
@@ -4875,7 +4875,7 @@ const docTemplate = `{
}
}
},
- "base_info.AddFriendResponseResp": {
+ "api_struct.AddFriendResponseResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4886,7 +4886,7 @@ const docTemplate = `{
}
}
},
- "base_info.ApplicationGroupResponseReq": {
+ "api_struct.ApplicationGroupResponseReq": {
"type": "object",
"required": [
"fromUserID",
@@ -4917,7 +4917,7 @@ const docTemplate = `{
}
}
},
- "base_info.ApplicationGroupResponseResp": {
+ "api_struct.ApplicationGroupResponseResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4928,7 +4928,7 @@ const docTemplate = `{
}
}
},
- "base_info.CancelMuteGroupMemberReq": {
+ "api_struct.CancelMuteGroupMemberReq": {
"type": "object",
"required": [
"groupID",
@@ -4947,7 +4947,7 @@ const docTemplate = `{
}
}
},
- "base_info.CancelMuteGroupMemberResp": {
+ "api_struct.CancelMuteGroupMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4958,7 +4958,7 @@ const docTemplate = `{
}
}
},
- "base_info.CancelMuteGroupReq": {
+ "api_struct.CancelMuteGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -4973,7 +4973,7 @@ const docTemplate = `{
}
}
},
- "base_info.CancelMuteGroupResp": {
+ "api_struct.CancelMuteGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4984,7 +4984,7 @@ const docTemplate = `{
}
}
},
- "base_info.CleanUpMsgReq": {
+ "api_struct.CleanUpMsgReq": {
"type": "object",
"required": [
"operationID",
@@ -4999,7 +4999,7 @@ const docTemplate = `{
}
}
},
- "base_info.CleanUpMsgResp": {
+ "api_struct.CleanUpMsgResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5010,7 +5010,7 @@ const docTemplate = `{
}
}
},
- "base_info.Comment": {
+ "api_struct.Comment": {
"type": "object",
"properties": {
"content": {
@@ -5036,7 +5036,7 @@ const docTemplate = `{
}
}
},
- "base_info.CommentOneWorkMomentReq": {
+ "api_struct.CommentOneWorkMomentReq": {
"type": "object",
"required": [
"content",
@@ -5058,7 +5058,7 @@ const docTemplate = `{
}
}
},
- "base_info.CommentOneWorkMomentResp": {
+ "api_struct.CommentOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -5072,7 +5072,7 @@ const docTemplate = `{
}
}
},
- "base_info.Conversation": {
+ "api_struct.Conversation": {
"type": "object",
"required": [
"conversationID",
@@ -5129,7 +5129,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateDepartmentMemberReq": {
+ "api_struct.CreateDepartmentMemberReq": {
"type": "object",
"required": [
"operationID"
@@ -5161,7 +5161,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateDepartmentMemberResp": {
+ "api_struct.CreateDepartmentMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5172,7 +5172,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateDepartmentReq": {
+ "api_struct.CreateDepartmentReq": {
"type": "object",
"required": [
"operationID"
@@ -5213,7 +5213,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateDepartmentResp": {
+ "api_struct.CreateDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5224,7 +5224,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateGroupReq": {
+ "api_struct.CreateGroupReq": {
"type": "object",
"required": [
"operationID"
@@ -5251,7 +5251,7 @@ const docTemplate = `{
"memberList": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.GroupAddMemberInfo"
+ "$ref": "#/definitions/api_struct.GroupAddMemberInfo"
}
},
"notification": {
@@ -5265,7 +5265,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateGroupResp": {
+ "api_struct.CreateGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5276,7 +5276,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateOneWorkMomentReq": {
+ "api_struct.CreateOneWorkMomentReq": {
"type": "object",
"properties": {
"operationID": {
@@ -5287,7 +5287,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateOneWorkMomentResp": {
+ "api_struct.CreateOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -5301,7 +5301,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateOrganizationUserReq": {
+ "api_struct.CreateOrganizationUserReq": {
"type": "object",
"required": [
"operationID"
@@ -5345,7 +5345,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateOrganizationUserResp": {
+ "api_struct.CreateOrganizationUserResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5356,7 +5356,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateTagReq": {
+ "api_struct.CreateTagReq": {
"type": "object",
"required": [
"operationID",
@@ -5380,7 +5380,7 @@ const docTemplate = `{
}
}
},
- "base_info.CreateTagResp": {
+ "api_struct.CreateTagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5391,7 +5391,7 @@ const docTemplate = `{
}
}
},
- "base_info.DelMsgReq": {
+ "api_struct.DelMsgReq": {
"type": "object",
"required": [
"operationID",
@@ -5413,7 +5413,7 @@ const docTemplate = `{
}
}
},
- "base_info.DelMsgResp": {
+ "api_struct.DelMsgResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5424,7 +5424,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteCommentReq": {
+ "api_struct.DeleteCommentReq": {
"type": "object",
"required": [
"contentID",
@@ -5443,7 +5443,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteCommentResp": {
+ "api_struct.DeleteCommentResp": {
"type": "object",
"properties": {
"data": {
@@ -5457,7 +5457,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteDepartmentReq": {
+ "api_struct.DeleteDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -5472,7 +5472,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteDepartmentResp": {
+ "api_struct.DeleteDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5483,7 +5483,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteFriendReq": {
+ "api_struct.DeleteFriendReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5502,7 +5502,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteFriendResp": {
+ "api_struct.DeleteFriendResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5513,7 +5513,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteOneWorkMomentReq": {
+ "api_struct.DeleteOneWorkMomentReq": {
"type": "object",
"required": [
"operationID",
@@ -5528,7 +5528,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteOneWorkMomentResp": {
+ "api_struct.DeleteOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -5542,7 +5542,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteOrganizationUserReq": {
+ "api_struct.DeleteOrganizationUserReq": {
"type": "object",
"required": [
"operationID",
@@ -5557,7 +5557,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteOrganizationUserResp": {
+ "api_struct.DeleteOrganizationUserResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5568,7 +5568,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteTagReq": {
+ "api_struct.DeleteTagReq": {
"type": "object",
"required": [
"operationID",
@@ -5583,7 +5583,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteTagResp": {
+ "api_struct.DeleteTagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5594,7 +5594,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteUserInDepartmentReq": {
+ "api_struct.DeleteUserInDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -5613,7 +5613,7 @@ const docTemplate = `{
}
}
},
- "base_info.DeleteUserInDepartmentResp": {
+ "api_struct.DeleteUserInDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5624,7 +5624,7 @@ const docTemplate = `{
}
}
},
- "base_info.DismissGroupReq": {
+ "api_struct.DismissGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -5639,7 +5639,7 @@ const docTemplate = `{
}
}
},
- "base_info.DismissGroupResp": {
+ "api_struct.DismissGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5650,7 +5650,7 @@ const docTemplate = `{
}
}
},
- "base_info.ExpireTime": {
+ "api_struct.ExpireTime": {
"type": "object",
"properties": {
"expireTimeSeconds": {
@@ -5658,7 +5658,7 @@ const docTemplate = `{
}
}
},
- "base_info.ForceLogoutReq": {
+ "api_struct.ForceLogoutReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5681,7 +5681,7 @@ const docTemplate = `{
}
}
},
- "base_info.ForceLogoutResp": {
+ "api_struct.ForceLogoutResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5692,7 +5692,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetAllConversationsReq": {
+ "api_struct.GetAllConversationsReq": {
"type": "object",
"required": [
"operationID",
@@ -5707,13 +5707,13 @@ const docTemplate = `{
}
}
},
- "base_info.GetAllConversationsResp": {
+ "api_struct.GetAllConversationsResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.Conversation"
+ "$ref": "#/definitions/api_struct.Conversation"
}
},
"errCode": {
@@ -5724,7 +5724,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetAllUsersUidReq": {
+ "api_struct.GetAllUsersUidReq": {
"type": "object",
"required": [
"operationID"
@@ -5735,7 +5735,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetAllUsersUidResp": {
+ "api_struct.GetAllUsersUidResp": {
"type": "object",
"properties": {
"data": {
@@ -5752,7 +5752,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetBlackListReq": {
+ "api_struct.GetBlackListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5767,7 +5767,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetBlackListResp": {
+ "api_struct.GetBlackListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5778,7 +5778,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetConversationReq": {
+ "api_struct.GetConversationReq": {
"type": "object",
"required": [
"conversationID",
@@ -5797,11 +5797,11 @@ const docTemplate = `{
}
}
},
- "base_info.GetConversationResp": {
+ "api_struct.GetConversationResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.Conversation"
+ "$ref": "#/definitions/api_struct.Conversation"
},
"errCode": {
"type": "integer"
@@ -5811,7 +5811,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetConversationsReq": {
+ "api_struct.GetConversationsReq": {
"type": "object",
"required": [
"conversationIDs",
@@ -5833,13 +5833,13 @@ const docTemplate = `{
}
}
},
- "base_info.GetConversationsResp": {
+ "api_struct.GetConversationsResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.Conversation"
+ "$ref": "#/definitions/api_struct.Conversation"
}
},
"errCode": {
@@ -5850,7 +5850,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetDepartmentMemberReq": {
+ "api_struct.GetDepartmentMemberReq": {
"type": "object",
"required": [
"departmentID",
@@ -5865,7 +5865,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetDepartmentMemberResp": {
+ "api_struct.GetDepartmentMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5876,7 +5876,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetFriendApplyListReq": {
+ "api_struct.GetFriendApplyListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5891,7 +5891,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetFriendApplyListResp": {
+ "api_struct.GetFriendApplyListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5902,7 +5902,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetFriendListReq": {
+ "api_struct.GetFriendListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5917,7 +5917,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetFriendListResp": {
+ "api_struct.GetFriendListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5928,7 +5928,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupAllMemberReq": {
+ "api_struct.GetGroupAllMemberReq": {
"type": "object",
"required": [
"count",
@@ -5951,7 +5951,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupAllMemberResp": {
+ "api_struct.GetGroupAllMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5962,7 +5962,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupApplicationListReq": {
+ "api_struct.GetGroupApplicationListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5978,7 +5978,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupApplicationListResp": {
+ "api_struct.GetGroupApplicationListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5989,7 +5989,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupInfoReq": {
+ "api_struct.GetGroupInfoReq": {
"type": "object",
"required": [
"groupIDList",
@@ -6007,7 +6007,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupInfoResp": {
+ "api_struct.GetGroupInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6018,7 +6018,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupMembersInfoReq": {
+ "api_struct.GetGroupMembersInfoReq": {
"type": "object",
"required": [
"groupID",
@@ -6040,7 +6040,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetGroupMembersInfoResp": {
+ "api_struct.GetGroupMembersInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6051,7 +6051,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetJoinedGroupListReq": {
+ "api_struct.GetJoinedGroupListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -6066,7 +6066,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetJoinedGroupListResp": {
+ "api_struct.GetJoinedGroupListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6077,7 +6077,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetSelfApplyListReq": {
+ "api_struct.GetSelfApplyListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -6092,7 +6092,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetSelfApplyListResp": {
+ "api_struct.GetSelfApplyListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6103,7 +6103,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetSelfUserInfoReq": {
+ "api_struct.GetSelfUserInfoReq": {
"type": "object",
"required": [
"operationID",
@@ -6118,7 +6118,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetSelfUserInfoResp": {
+ "api_struct.GetSelfUserInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6129,7 +6129,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetSubDepartmentReq": {
+ "api_struct.GetSubDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -6144,7 +6144,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetSubDepartmentResp": {
+ "api_struct.GetSubDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6155,7 +6155,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetTagSendLogsReq": {
+ "api_struct.GetTagSendLogsReq": {
"type": "object",
"required": [
"operationID",
@@ -6174,7 +6174,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetTagSendLogsResp": {
+ "api_struct.GetTagSendLogsResp": {
"type": "object",
"properties": {
"data": {
@@ -6202,7 +6202,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserFriendWorkMomentsReq": {
+ "api_struct.GetUserFriendWorkMomentsReq": {
"type": "object",
"required": [
"operationID",
@@ -6221,7 +6221,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserFriendWorkMomentsResp": {
+ "api_struct.GetUserFriendWorkMomentsResp": {
"type": "object",
"properties": {
"data": {
@@ -6236,7 +6236,7 @@ const docTemplate = `{
"workMoments": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMoment"
+ "$ref": "#/definitions/api_struct.WorkMoment"
}
}
}
@@ -6249,7 +6249,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserInDepartmentReq": {
+ "api_struct.GetUserInDepartmentReq": {
"type": "object",
"required": [
"operationID",
@@ -6264,7 +6264,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserInDepartmentResp": {
+ "api_struct.GetUserInDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6275,7 +6275,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserReqGroupApplicationListReq": {
+ "api_struct.GetUserReqGroupApplicationListReq": {
"type": "object",
"required": [
"operationID",
@@ -6290,7 +6290,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserTagByIDReq": {
+ "api_struct.GetUserTagByIDReq": {
"type": "object",
"required": [
"operationID",
@@ -6305,7 +6305,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserTagByIDResp": {
+ "api_struct.GetUserTagByIDResp": {
"type": "object",
"properties": {
"data": {
@@ -6324,7 +6324,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserTagsReq": {
+ "api_struct.GetUserTagsReq": {
"type": "object",
"required": [
"operationID"
@@ -6335,7 +6335,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserTagsResp": {
+ "api_struct.GetUserTagsResp": {
"type": "object",
"properties": {
"data": {
@@ -6357,7 +6357,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserWorkMomentsReq": {
+ "api_struct.GetUserWorkMomentsReq": {
"type": "object",
"required": [
"operationID",
@@ -6379,7 +6379,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUserWorkMomentsResp": {
+ "api_struct.GetUserWorkMomentsResp": {
"type": "object",
"properties": {
"data": {
@@ -6394,7 +6394,7 @@ const docTemplate = `{
"workMoments": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMoment"
+ "$ref": "#/definitions/api_struct.WorkMoment"
}
}
}
@@ -6407,7 +6407,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUsersInfoReq": {
+ "api_struct.GetUsersInfoReq": {
"type": "object",
"required": [
"operationID",
@@ -6425,7 +6425,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUsersInfoResp": {
+ "api_struct.GetUsersInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6436,7 +6436,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUsersOnlineStatusReq": {
+ "api_struct.GetUsersOnlineStatusReq": {
"type": "object",
"required": [
"operationID",
@@ -6455,7 +6455,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetUsersOnlineStatusResp": {
+ "api_struct.GetUsersOnlineStatusResp": {
"type": "object",
"properties": {
"data": {
@@ -6472,7 +6472,7 @@ const docTemplate = `{
}
}
},
- "base_info.GetWorkMomentByIDReq": {
+ "api_struct.GetWorkMomentByIDReq": {
"type": "object",
"required": [
"operationID",
@@ -6487,14 +6487,14 @@ const docTemplate = `{
}
}
},
- "base_info.GetWorkMomentByIDResp": {
+ "api_struct.GetWorkMomentByIDResp": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"workMoment": {
- "$ref": "#/definitions/base_info.WorkMoment"
+ "$ref": "#/definitions/api_struct.WorkMoment"
}
}
},
@@ -6506,7 +6506,7 @@ const docTemplate = `{
}
}
},
- "base_info.GroupAddMemberInfo": {
+ "api_struct.GroupAddMemberInfo": {
"type": "object",
"required": [
"roleLevel",
@@ -6525,7 +6525,7 @@ const docTemplate = `{
}
}
},
- "base_info.ImportFriendReq": {
+ "api_struct.ImportFriendReq": {
"type": "object",
"required": [
"friendUserIDList",
@@ -6547,13 +6547,13 @@ const docTemplate = `{
}
}
},
- "base_info.ImportFriendResp": {
+ "api_struct.ImportFriendResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.UserIDResult"
+ "$ref": "#/definitions/api_struct.UserIDResult"
}
},
"errCode": {
@@ -6564,7 +6564,7 @@ const docTemplate = `{
}
}
},
- "base_info.InviteUserToGroupReq": {
+ "api_struct.InviteUserToGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6589,13 +6589,13 @@ const docTemplate = `{
}
}
},
- "base_info.InviteUserToGroupResp": {
+ "api_struct.InviteUserToGroupResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.UserIDResult"
+ "$ref": "#/definitions/api_struct.UserIDResult"
}
},
"errCode": {
@@ -6606,7 +6606,7 @@ const docTemplate = `{
}
}
},
- "base_info.IsFriendReq": {
+ "api_struct.IsFriendReq": {
"type": "object",
"required": [
"fromUserID",
@@ -6625,11 +6625,11 @@ const docTemplate = `{
}
}
},
- "base_info.IsFriendResp": {
+ "api_struct.IsFriendResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.Response"
+ "$ref": "#/definitions/api_struct.Response"
},
"errCode": {
"type": "integer"
@@ -6639,7 +6639,7 @@ const docTemplate = `{
}
}
},
- "base_info.JoinGroupReq": {
+ "api_struct.JoinGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6663,7 +6663,7 @@ const docTemplate = `{
}
}
},
- "base_info.JoinGroupResp": {
+ "api_struct.JoinGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6674,7 +6674,7 @@ const docTemplate = `{
}
}
},
- "base_info.KickGroupMemberReq": {
+ "api_struct.KickGroupMemberReq": {
"type": "object",
"required": [
"groupID",
@@ -6699,13 +6699,13 @@ const docTemplate = `{
}
}
},
- "base_info.KickGroupMemberResp": {
+ "api_struct.KickGroupMemberResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.UserIDResult"
+ "$ref": "#/definitions/api_struct.UserIDResult"
}
},
"errCode": {
@@ -6716,7 +6716,7 @@ const docTemplate = `{
}
}
},
- "base_info.LikeOneWorkMomentReq": {
+ "api_struct.LikeOneWorkMomentReq": {
"type": "object",
"required": [
"operationID",
@@ -6731,7 +6731,7 @@ const docTemplate = `{
}
}
},
- "base_info.LikeOneWorkMomentResp": {
+ "api_struct.LikeOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -6745,7 +6745,7 @@ const docTemplate = `{
}
}
},
- "base_info.ManagementBatchSendMsgReq": {
+ "api_struct.ManagementBatchSendMsgReq": {
"type": "object",
"required": [
"contentType",
@@ -6798,7 +6798,7 @@ const docTemplate = `{
}
}
},
- "base_info.ManagementSendMsgReq": {
+ "api_struct.ManagementSendMsgReq": {
"type": "object",
"required": [
"contentType",
@@ -6848,7 +6848,7 @@ const docTemplate = `{
}
}
},
- "base_info.ManagementSendMsgResp": {
+ "api_struct.ManagementSendMsgResp": {
"type": "object",
"properties": {
"data": {
@@ -6862,7 +6862,7 @@ const docTemplate = `{
}
}
},
- "base_info.MinioUploadFileResp": {
+ "api_struct.MinioUploadFileResp": {
"type": "object",
"properties": {
"data": {
@@ -6890,7 +6890,7 @@ const docTemplate = `{
}
}
},
- "base_info.MuteGroupMemberReq": {
+ "api_struct.MuteGroupMemberReq": {
"type": "object",
"required": [
"groupID",
@@ -6913,7 +6913,7 @@ const docTemplate = `{
}
}
},
- "base_info.MuteGroupReq": {
+ "api_struct.MuteGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6928,7 +6928,7 @@ const docTemplate = `{
}
}
},
- "base_info.MuteGroupResp": {
+ "api_struct.MuteGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6939,7 +6939,7 @@ const docTemplate = `{
}
}
},
- "base_info.ParseTokenReq": {
+ "api_struct.ParseTokenReq": {
"type": "object",
"required": [
"operationID"
@@ -6950,7 +6950,7 @@ const docTemplate = `{
}
}
},
- "base_info.ParseTokenResp": {
+ "api_struct.ParseTokenResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6961,7 +6961,7 @@ const docTemplate = `{
}
}
},
- "base_info.QuitGroupReq": {
+ "api_struct.QuitGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6976,7 +6976,7 @@ const docTemplate = `{
}
}
},
- "base_info.QuitGroupResp": {
+ "api_struct.QuitGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6987,7 +6987,7 @@ const docTemplate = `{
}
}
},
- "base_info.RemoveBlackListReq": {
+ "api_struct.RemoveBlackListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -7006,7 +7006,7 @@ const docTemplate = `{
}
}
},
- "base_info.RemoveBlackListResp": {
+ "api_struct.RemoveBlackListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7017,7 +7017,7 @@ const docTemplate = `{
}
}
},
- "base_info.Response": {
+ "api_struct.Response": {
"type": "object",
"properties": {
"isFriend": {
@@ -7025,7 +7025,7 @@ const docTemplate = `{
}
}
},
- "base_info.SendMsg2TagReq": {
+ "api_struct.SendMsg2TagReq": {
"type": "object",
"required": [
"content",
@@ -7062,7 +7062,7 @@ const docTemplate = `{
}
}
},
- "base_info.SendMsg2TagResp": {
+ "api_struct.SendMsg2TagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7073,7 +7073,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetFriendRemarkReq": {
+ "api_struct.SetFriendRemarkReq": {
"type": "object",
"required": [
"fromUserID",
@@ -7095,7 +7095,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetFriendRemarkResp": {
+ "api_struct.SetFriendRemarkResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7106,7 +7106,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetGlobalRecvMessageOptReq": {
+ "api_struct.SetGlobalRecvMessageOptReq": {
"type": "object",
"required": [
"operationID"
@@ -7125,7 +7125,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetGlobalRecvMessageOptResp": {
+ "api_struct.SetGlobalRecvMessageOptResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7136,7 +7136,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetGroupInfoReq": {
+ "api_struct.SetGroupInfoReq": {
"type": "object",
"required": [
"groupID",
@@ -7175,7 +7175,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetGroupInfoResp": {
+ "api_struct.SetGroupInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7186,7 +7186,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetGroupMemberInfoReq": {
+ "api_struct.SetGroupMemberInfoReq": {
"type": "object",
"required": [
"groupID",
@@ -7219,7 +7219,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetGroupMemberInfoResp": {
+ "api_struct.SetGroupMemberInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7230,7 +7230,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetTagReq": {
+ "api_struct.SetTagReq": {
"type": "object",
"required": [
"operationID",
@@ -7260,7 +7260,7 @@ const docTemplate = `{
}
}
},
- "base_info.SetTagResp": {
+ "api_struct.SetTagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7271,7 +7271,7 @@ const docTemplate = `{
}
}
},
- "base_info.Swagger400Resp": {
+ "api_struct.Swagger400Resp": {
"type": "object",
"properties": {
"errCode": {
@@ -7284,7 +7284,7 @@ const docTemplate = `{
}
}
},
- "base_info.Swagger500Resp": {
+ "api_struct.Swagger500Resp": {
"type": "object",
"properties": {
"errCode": {
@@ -7297,7 +7297,7 @@ const docTemplate = `{
}
}
},
- "base_info.TransferGroupOwnerReq": {
+ "api_struct.TransferGroupOwnerReq": {
"type": "object",
"required": [
"groupID",
@@ -7320,7 +7320,7 @@ const docTemplate = `{
}
}
},
- "base_info.TransferGroupOwnerResp": {
+ "api_struct.TransferGroupOwnerResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7331,7 +7331,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateDepartmentReq": {
+ "api_struct.UpdateDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -7373,7 +7373,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateDepartmentResp": {
+ "api_struct.UpdateDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7384,7 +7384,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateOrganizationUserReq": {
+ "api_struct.UpdateOrganizationUserReq": {
"type": "object",
"required": [
"operationID"
@@ -7428,7 +7428,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateOrganizationUserResp": {
+ "api_struct.UpdateOrganizationUserResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7439,7 +7439,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateSelfUserInfoReq": {
+ "api_struct.UpdateSelfUserInfoReq": {
"type": "object",
"required": [
"operationID",
@@ -7488,7 +7488,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateUserInDepartmentReq": {
+ "api_struct.UpdateUserInDepartmentReq": {
"type": "object",
"required": [
"operationID"
@@ -7520,7 +7520,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateUserInDepartmentResp": {
+ "api_struct.UpdateUserInDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7531,7 +7531,7 @@ const docTemplate = `{
}
}
},
- "base_info.UpdateUserInfoResp": {
+ "api_struct.UpdateUserInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7542,7 +7542,7 @@ const docTemplate = `{
}
}
},
- "base_info.UserIDResult": {
+ "api_struct.UserIDResult": {
"type": "object",
"properties": {
"result": {
@@ -7553,7 +7553,7 @@ const docTemplate = `{
}
}
},
- "base_info.UserRegisterReq": {
+ "api_struct.UserRegisterReq": {
"type": "object",
"required": [
"operationID",
@@ -7613,11 +7613,11 @@ const docTemplate = `{
}
}
},
- "base_info.UserRegisterResp": {
+ "api_struct.UserRegisterResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.UserTokenInfo"
+ "$ref": "#/definitions/api_struct.UserTokenInfo"
},
"errCode": {
"type": "integer"
@@ -7627,7 +7627,7 @@ const docTemplate = `{
}
}
},
- "base_info.UserTokenInfo": {
+ "api_struct.UserTokenInfo": {
"type": "object",
"properties": {
"expiredTime": {
@@ -7641,7 +7641,7 @@ const docTemplate = `{
}
}
},
- "base_info.UserTokenReq": {
+ "api_struct.UserTokenReq": {
"type": "object",
"required": [
"operationID",
@@ -7669,11 +7669,11 @@ const docTemplate = `{
}
}
},
- "base_info.UserTokenResp": {
+ "api_struct.UserTokenResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.UserTokenInfo"
+ "$ref": "#/definitions/api_struct.UserTokenInfo"
},
"errCode": {
"type": "integer"
@@ -7683,19 +7683,19 @@ const docTemplate = `{
}
}
},
- "base_info.WorkMoment": {
+ "api_struct.WorkMoment": {
"type": "object",
"properties": {
"atUsers": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMomentUser"
+ "$ref": "#/definitions/api_struct.WorkMomentUser"
}
},
"comments": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.Comment"
+ "$ref": "#/definitions/api_struct.Comment"
}
},
"content": {
@@ -7710,7 +7710,7 @@ const docTemplate = `{
"likeUsers": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMomentUser"
+ "$ref": "#/definitions/api_struct.WorkMomentUser"
}
},
"permission": {
@@ -7719,7 +7719,7 @@ const docTemplate = `{
"permissionUsers": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMomentUser"
+ "$ref": "#/definitions/api_struct.WorkMomentUser"
}
},
"userID": {
@@ -7733,7 +7733,7 @@ const docTemplate = `{
}
}
},
- "base_info.WorkMomentUser": {
+ "api_struct.WorkMomentUser": {
"type": "object",
"properties": {
"userID": {
diff --git a/cmd/open_im_api/docs/swagger.json b/cmd/open_im_api/docs/swagger.json
index e367d21cf..c9b06c636 100644
--- a/cmd/open_im_api/docs/swagger.json
+++ b/cmd/open_im_api/docs/swagger.json
@@ -40,7 +40,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ForceLogoutReq"
+ "$ref": "#/definitions/api_struct.ForceLogoutReq"
}
}
],
@@ -48,19 +48,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.ForceLogoutResp"
+ "$ref": "#/definitions/api_struct.ForceLogoutResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -94,7 +94,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ParseTokenReq"
+ "$ref": "#/definitions/api_struct.ParseTokenReq"
}
}
],
@@ -104,13 +104,13 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ParseTokenResp"
+ "$ref": "#/definitions/api_struct.ParseTokenResp"
},
{
"type": "object",
"properties": {
"Data": {
- "$ref": "#/definitions/base_info.ExpireTime"
+ "$ref": "#/definitions/api_struct.ExpireTime"
}
}
}
@@ -120,13 +120,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -153,7 +153,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UserRegisterReq"
+ "$ref": "#/definitions/api_struct.UserRegisterReq"
}
}
],
@@ -161,19 +161,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UserRegisterResp"
+ "$ref": "#/definitions/api_struct.UserRegisterResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -200,7 +200,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UserTokenReq"
+ "$ref": "#/definitions/api_struct.UserTokenReq"
}
}
],
@@ -208,19 +208,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UserTokenResp"
+ "$ref": "#/definitions/api_struct.UserTokenResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -254,7 +254,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AddBlacklistReq"
+ "$ref": "#/definitions/api_struct.AddBlacklistReq"
}
}
],
@@ -262,19 +262,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AddBlacklistResp"
+ "$ref": "#/definitions/api_struct.AddBlacklistResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -308,7 +308,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AddFriendReq"
+ "$ref": "#/definitions/api_struct.AddFriendReq"
}
}
],
@@ -316,19 +316,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AddFriendResp"
+ "$ref": "#/definitions/api_struct.AddFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -362,7 +362,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AddFriendResponseReq"
+ "$ref": "#/definitions/api_struct.AddFriendResponseReq"
}
}
],
@@ -370,19 +370,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AddFriendResponseResp"
+ "$ref": "#/definitions/api_struct.AddFriendResponseResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -416,7 +416,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteFriendReq"
+ "$ref": "#/definitions/api_struct.DeleteFriendReq"
}
}
],
@@ -424,19 +424,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteFriendResp"
+ "$ref": "#/definitions/api_struct.DeleteFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -470,7 +470,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetBlackListReq"
+ "$ref": "#/definitions/api_struct.GetBlackListReq"
}
}
],
@@ -480,7 +480,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetBlackListResp"
+ "$ref": "#/definitions/api_struct.GetBlackListResp"
},
{
"type": "object",
@@ -499,13 +499,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
}
}
@@ -539,7 +539,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetFriendApplyListReq"
+ "$ref": "#/definitions/api_struct.GetFriendApplyListReq"
}
}
],
@@ -549,7 +549,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetFriendApplyListResp"
+ "$ref": "#/definitions/api_struct.GetFriendApplyListResp"
},
{
"type": "object",
@@ -568,13 +568,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
}
}
@@ -608,7 +608,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetFriendListReq"
+ "$ref": "#/definitions/api_struct.GetFriendListReq"
}
}
],
@@ -618,7 +618,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetFriendListResp"
+ "$ref": "#/definitions/api_struct.GetFriendListResp"
},
{
"type": "object",
@@ -637,13 +637,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -677,7 +677,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetSelfApplyListReq"
+ "$ref": "#/definitions/api_struct.GetSelfApplyListReq"
}
}
],
@@ -687,7 +687,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetSelfApplyListResp"
+ "$ref": "#/definitions/api_struct.GetSelfApplyListResp"
},
{
"type": "object",
@@ -706,13 +706,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -746,7 +746,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ImportFriendReq"
+ "$ref": "#/definitions/api_struct.ImportFriendReq"
}
}
],
@@ -754,19 +754,19 @@
"0": {
"description": "data列表中对象的result-1为添加该用户失败\u003cbr\u003e0为成功",
"schema": {
- "$ref": "#/definitions/base_info.ImportFriendResp"
+ "$ref": "#/definitions/api_struct.ImportFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -800,7 +800,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.IsFriendReq"
+ "$ref": "#/definitions/api_struct.IsFriendReq"
}
}
],
@@ -808,19 +808,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.IsFriendResp"
+ "$ref": "#/definitions/api_struct.IsFriendResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -854,7 +854,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.RemoveBlackListReq"
+ "$ref": "#/definitions/api_struct.RemoveBlackListReq"
}
}
],
@@ -862,19 +862,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.RemoveBlackListResp"
+ "$ref": "#/definitions/api_struct.RemoveBlackListResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -908,7 +908,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetFriendRemarkReq"
+ "$ref": "#/definitions/api_struct.SetFriendRemarkReq"
}
}
],
@@ -916,19 +916,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetFriendRemarkResp"
+ "$ref": "#/definitions/api_struct.SetFriendRemarkResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -962,7 +962,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupReq"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupReq"
}
}
],
@@ -970,19 +970,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupResp"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1016,7 +1016,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupMemberReq"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupMemberReq"
}
}
],
@@ -1024,19 +1024,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CancelMuteGroupMemberResp"
+ "$ref": "#/definitions/api_struct.CancelMuteGroupMemberResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1070,7 +1070,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateGroupReq"
+ "$ref": "#/definitions/api_struct.CreateGroupReq"
}
}
],
@@ -1080,7 +1080,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.CreateGroupResp"
+ "$ref": "#/definitions/api_struct.CreateGroupResp"
},
{
"type": "object",
@@ -1096,13 +1096,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1136,7 +1136,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DismissGroupReq"
+ "$ref": "#/definitions/api_struct.DismissGroupReq"
}
}
],
@@ -1144,19 +1144,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DismissGroupResp"
+ "$ref": "#/definitions/api_struct.DismissGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1190,7 +1190,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupAllMemberReq"
+ "$ref": "#/definitions/api_struct.GetGroupAllMemberReq"
}
}
],
@@ -1200,7 +1200,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupAllMemberResp"
+ "$ref": "#/definitions/api_struct.GetGroupAllMemberResp"
},
{
"type": "object",
@@ -1219,13 +1219,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1259,7 +1259,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupMembersInfoReq"
+ "$ref": "#/definitions/api_struct.GetGroupMembersInfoReq"
}
}
],
@@ -1269,7 +1269,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupMembersInfoResp"
+ "$ref": "#/definitions/api_struct.GetGroupMembersInfoResp"
},
{
"type": "object",
@@ -1288,13 +1288,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1328,7 +1328,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupInfoReq"
+ "$ref": "#/definitions/api_struct.GetGroupInfoReq"
}
}
],
@@ -1336,19 +1336,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetGroupInfoResp"
+ "$ref": "#/definitions/api_struct.GetGroupInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1382,7 +1382,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetJoinedGroupListReq"
+ "$ref": "#/definitions/api_struct.GetJoinedGroupListReq"
}
}
],
@@ -1392,7 +1392,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetJoinedGroupListResp"
+ "$ref": "#/definitions/api_struct.GetJoinedGroupListResp"
},
{
"type": "object",
@@ -1411,13 +1411,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1451,7 +1451,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetGroupApplicationListReq"
+ "$ref": "#/definitions/api_struct.GetGroupApplicationListReq"
}
}
],
@@ -1461,7 +1461,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupApplicationListResp"
+ "$ref": "#/definitions/api_struct.GetGroupApplicationListResp"
},
{
"type": "object",
@@ -1480,13 +1480,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1520,7 +1520,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserReqGroupApplicationListReq"
+ "$ref": "#/definitions/api_struct.GetUserReqGroupApplicationListReq"
}
}
],
@@ -1530,7 +1530,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetGroupApplicationListResp"
+ "$ref": "#/definitions/api_struct.GetGroupApplicationListResp"
},
{
"type": "object",
@@ -1549,13 +1549,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1589,7 +1589,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.ApplicationGroupResponseReq"
+ "$ref": "#/definitions/api_struct.ApplicationGroupResponseReq"
}
}
],
@@ -1597,19 +1597,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.ApplicationGroupResponseResp"
+ "$ref": "#/definitions/api_struct.ApplicationGroupResponseResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1643,7 +1643,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.InviteUserToGroupReq"
+ "$ref": "#/definitions/api_struct.InviteUserToGroupReq"
}
}
],
@@ -1651,19 +1651,19 @@
"0": {
"description": "result为结果码, -1为失败, 0为成功",
"schema": {
- "$ref": "#/definitions/base_info.InviteUserToGroupResp"
+ "$ref": "#/definitions/api_struct.InviteUserToGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1697,7 +1697,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.JoinGroupReq"
+ "$ref": "#/definitions/api_struct.JoinGroupReq"
}
}
],
@@ -1705,19 +1705,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.JoinGroupResp"
+ "$ref": "#/definitions/api_struct.JoinGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1751,7 +1751,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.KickGroupMemberReq"
+ "$ref": "#/definitions/api_struct.KickGroupMemberReq"
}
}
],
@@ -1759,19 +1759,19 @@
"0": {
"description": "result为结果码, -1为失败, 0为成功",
"schema": {
- "$ref": "#/definitions/base_info.KickGroupMemberResp"
+ "$ref": "#/definitions/api_struct.KickGroupMemberResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1805,7 +1805,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupReq"
+ "$ref": "#/definitions/api_struct.MuteGroupReq"
}
}
],
@@ -1813,19 +1813,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupResp"
+ "$ref": "#/definitions/api_struct.MuteGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupResp"
+ "$ref": "#/definitions/api_struct.MuteGroupResp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupResp"
+ "$ref": "#/definitions/api_struct.MuteGroupResp"
}
}
}
@@ -1859,7 +1859,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.MuteGroupMemberReq"
+ "$ref": "#/definitions/api_struct.MuteGroupMemberReq"
}
}
],
@@ -1867,19 +1867,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DismissGroupResp"
+ "$ref": "#/definitions/api_struct.DismissGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1913,7 +1913,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.QuitGroupReq"
+ "$ref": "#/definitions/api_struct.QuitGroupReq"
}
}
],
@@ -1921,19 +1921,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.QuitGroupResp"
+ "$ref": "#/definitions/api_struct.QuitGroupResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -1967,7 +1967,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetGroupInfoReq"
+ "$ref": "#/definitions/api_struct.SetGroupInfoReq"
}
}
],
@@ -1975,19 +1975,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetGroupInfoResp"
+ "$ref": "#/definitions/api_struct.SetGroupInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2021,7 +2021,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetGroupMemberInfoReq"
+ "$ref": "#/definitions/api_struct.SetGroupMemberInfoReq"
}
}
],
@@ -2029,19 +2029,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetGroupMemberInfoResp"
+ "$ref": "#/definitions/api_struct.SetGroupMemberInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2075,7 +2075,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.TransferGroupOwnerReq"
+ "$ref": "#/definitions/api_struct.TransferGroupOwnerReq"
}
}
],
@@ -2083,19 +2083,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.TransferGroupOwnerResp"
+ "$ref": "#/definitions/api_struct.TransferGroupOwnerResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2131,7 +2131,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
},
{
"type": "object",
@@ -2152,7 +2152,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2170,19 +2170,19 @@
"0": {
"description": "serverMsgID为服务器消息ID \u003cbr\u003e clientMsgID为客户端消息ID \u003cbr\u003e sendTime为发送消息时间",
"schema": {
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.ManagementBatchSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
}
}
}
@@ -2216,7 +2216,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CleanUpMsgReq"
+ "$ref": "#/definitions/api_struct.CleanUpMsgReq"
}
}
],
@@ -2224,19 +2224,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CleanUpMsgResp"
+ "$ref": "#/definitions/api_struct.CleanUpMsgResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2270,7 +2270,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DelMsgReq"
+ "$ref": "#/definitions/api_struct.DelMsgReq"
}
}
],
@@ -2278,19 +2278,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DelMsgResp"
+ "$ref": "#/definitions/api_struct.DelMsgResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2324,7 +2324,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetAllConversationsReq"
+ "$ref": "#/definitions/api_struct.GetAllConversationsReq"
}
}
],
@@ -2332,19 +2332,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetAllConversationsResp"
+ "$ref": "#/definitions/api_struct.GetAllConversationsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2378,7 +2378,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetConversationReq"
+ "$ref": "#/definitions/api_struct.GetConversationReq"
}
}
],
@@ -2386,19 +2386,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetConversationResp"
+ "$ref": "#/definitions/api_struct.GetConversationResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2432,7 +2432,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetConversationsReq"
+ "$ref": "#/definitions/api_struct.GetConversationsReq"
}
}
],
@@ -2440,19 +2440,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetConversationsResp"
+ "$ref": "#/definitions/api_struct.GetConversationsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2488,7 +2488,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2509,7 +2509,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2530,7 +2530,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.ManagementSendMsgReq"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgReq"
},
{
"type": "object",
@@ -2548,19 +2548,19 @@
"0": {
"description": "serverMsgID为服务器消息ID \u003cbr\u003e clientMsgID为客户端消息ID \u003cbr\u003e sendTime为发送消息时间",
"schema": {
- "$ref": "#/definitions/base_info.ManagementSendMsgResp"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.ManagementSendMsgResp"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgResp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.ManagementSendMsgResp"
+ "$ref": "#/definitions/api_struct.ManagementSendMsgResp"
}
}
}
@@ -2594,7 +2594,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CommentOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.CommentOneWorkMomentReq"
}
}
],
@@ -2602,19 +2602,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CommentOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.CommentOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2648,7 +2648,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.CreateOneWorkMomentReq"
}
}
],
@@ -2656,19 +2656,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.CreateOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2702,7 +2702,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateTagReq"
+ "$ref": "#/definitions/api_struct.CreateTagReq"
}
}
],
@@ -2710,19 +2710,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateTagResp"
+ "$ref": "#/definitions/api_struct.CreateTagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2756,7 +2756,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteCommentReq"
+ "$ref": "#/definitions/api_struct.DeleteCommentReq"
}
}
],
@@ -2764,19 +2764,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteCommentResp"
+ "$ref": "#/definitions/api_struct.DeleteCommentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2810,7 +2810,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.DeleteOneWorkMomentReq"
}
}
],
@@ -2818,19 +2818,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.DeleteOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2864,7 +2864,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteTagReq"
+ "$ref": "#/definitions/api_struct.DeleteTagReq"
}
}
],
@@ -2872,19 +2872,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteTagResp"
+ "$ref": "#/definitions/api_struct.DeleteTagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2918,7 +2918,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetTagSendLogsReq"
+ "$ref": "#/definitions/api_struct.GetTagSendLogsReq"
}
}
],
@@ -2926,19 +2926,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetTagSendLogsResp"
+ "$ref": "#/definitions/api_struct.GetTagSendLogsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -2972,7 +2972,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserFriendWorkMomentsReq"
+ "$ref": "#/definitions/api_struct.GetUserFriendWorkMomentsReq"
}
}
],
@@ -2980,19 +2980,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserFriendWorkMomentsResp"
+ "$ref": "#/definitions/api_struct.GetUserFriendWorkMomentsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3026,7 +3026,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagByIDReq"
+ "$ref": "#/definitions/api_struct.GetUserTagByIDReq"
}
}
],
@@ -3034,19 +3034,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagByIDResp"
+ "$ref": "#/definitions/api_struct.GetUserTagByIDResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3080,7 +3080,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagsReq"
+ "$ref": "#/definitions/api_struct.GetUserTagsReq"
}
}
],
@@ -3088,19 +3088,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserTagsResp"
+ "$ref": "#/definitions/api_struct.GetUserTagsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3134,7 +3134,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserWorkMomentsReq"
+ "$ref": "#/definitions/api_struct.GetUserWorkMomentsReq"
}
}
],
@@ -3142,19 +3142,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUserWorkMomentsResp"
+ "$ref": "#/definitions/api_struct.GetUserWorkMomentsResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3188,7 +3188,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetWorkMomentByIDReq"
+ "$ref": "#/definitions/api_struct.GetWorkMomentByIDReq"
}
}
],
@@ -3196,19 +3196,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetWorkMomentByIDResp"
+ "$ref": "#/definitions/api_struct.GetWorkMomentByIDResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3242,7 +3242,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.LikeOneWorkMomentReq"
+ "$ref": "#/definitions/api_struct.LikeOneWorkMomentReq"
}
}
],
@@ -3250,19 +3250,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.LikeOneWorkMomentResp"
+ "$ref": "#/definitions/api_struct.LikeOneWorkMomentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3296,7 +3296,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SendMsg2TagReq"
+ "$ref": "#/definitions/api_struct.SendMsg2TagReq"
}
}
],
@@ -3304,19 +3304,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SendMsg2TagResp"
+ "$ref": "#/definitions/api_struct.SendMsg2TagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3350,7 +3350,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetTagReq"
+ "$ref": "#/definitions/api_struct.SetTagReq"
}
}
],
@@ -3358,19 +3358,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetTagResp"
+ "$ref": "#/definitions/api_struct.SetTagResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3404,7 +3404,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateDepartmentReq"
+ "$ref": "#/definitions/api_struct.CreateDepartmentReq"
}
}
],
@@ -3414,7 +3414,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.CreateDepartmentResp"
+ "$ref": "#/definitions/api_struct.CreateDepartmentResp"
},
{
"type": "object",
@@ -3430,13 +3430,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3470,7 +3470,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateDepartmentMemberReq"
+ "$ref": "#/definitions/api_struct.CreateDepartmentMemberReq"
}
}
],
@@ -3478,19 +3478,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateDepartmentMemberResp"
+ "$ref": "#/definitions/api_struct.CreateDepartmentMemberResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3524,7 +3524,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.CreateOrganizationUserReq"
+ "$ref": "#/definitions/api_struct.CreateOrganizationUserReq"
}
}
],
@@ -3532,19 +3532,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.CreateOrganizationUserResp"
+ "$ref": "#/definitions/api_struct.CreateOrganizationUserResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3578,7 +3578,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteDepartmentReq"
+ "$ref": "#/definitions/api_struct.DeleteDepartmentReq"
}
}
],
@@ -3586,19 +3586,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteDepartmentResp"
+ "$ref": "#/definitions/api_struct.DeleteDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3632,7 +3632,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteOrganizationUserReq"
+ "$ref": "#/definitions/api_struct.DeleteOrganizationUserReq"
}
}
],
@@ -3640,19 +3640,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteOrganizationUserResp"
+ "$ref": "#/definitions/api_struct.DeleteOrganizationUserResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3686,7 +3686,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.DeleteUserInDepartmentReq"
+ "$ref": "#/definitions/api_struct.DeleteUserInDepartmentReq"
}
}
],
@@ -3694,19 +3694,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.DeleteUserInDepartmentResp"
+ "$ref": "#/definitions/api_struct.DeleteUserInDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3740,7 +3740,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetDepartmentMemberReq"
+ "$ref": "#/definitions/api_struct.GetDepartmentMemberReq"
}
}
],
@@ -3750,7 +3750,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetDepartmentMemberResp"
+ "$ref": "#/definitions/api_struct.GetDepartmentMemberResp"
},
{
"type": "object",
@@ -3769,13 +3769,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3809,7 +3809,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetSubDepartmentReq"
+ "$ref": "#/definitions/api_struct.GetSubDepartmentReq"
}
}
],
@@ -3819,7 +3819,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetSubDepartmentResp"
+ "$ref": "#/definitions/api_struct.GetSubDepartmentResp"
},
{
"type": "object",
@@ -3838,13 +3838,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3878,7 +3878,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUserInDepartmentReq"
+ "$ref": "#/definitions/api_struct.GetUserInDepartmentReq"
}
}
],
@@ -3888,7 +3888,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetUserInDepartmentResp"
+ "$ref": "#/definitions/api_struct.GetUserInDepartmentResp"
},
{
"type": "object",
@@ -3904,13 +3904,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3944,7 +3944,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateDepartmentReq"
+ "$ref": "#/definitions/api_struct.UpdateDepartmentReq"
}
}
],
@@ -3952,19 +3952,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateDepartmentResp"
+ "$ref": "#/definitions/api_struct.UpdateDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -3998,7 +3998,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateOrganizationUserReq"
+ "$ref": "#/definitions/api_struct.UpdateOrganizationUserReq"
}
}
],
@@ -4006,19 +4006,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateOrganizationUserResp"
+ "$ref": "#/definitions/api_struct.UpdateOrganizationUserResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4052,7 +4052,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateUserInDepartmentReq"
+ "$ref": "#/definitions/api_struct.UpdateUserInDepartmentReq"
}
}
],
@@ -4060,19 +4060,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateUserInDepartmentResp"
+ "$ref": "#/definitions/api_struct.UpdateUserInDepartmentResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4126,19 +4126,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.MinioUploadFileResp"
+ "$ref": "#/definitions/api_struct.MinioUploadFileResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4172,7 +4172,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.AccountCheckReq"
+ "$ref": "#/definitions/api_struct.AccountCheckReq"
}
}
],
@@ -4180,19 +4180,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.AccountCheckResp"
+ "$ref": "#/definitions/api_struct.AccountCheckResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4226,7 +4226,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetAllUsersUidReq"
+ "$ref": "#/definitions/api_struct.GetAllUsersUidReq"
}
}
],
@@ -4234,19 +4234,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetAllUsersUidResp"
+ "$ref": "#/definitions/api_struct.GetAllUsersUidResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4280,7 +4280,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetSelfUserInfoReq"
+ "$ref": "#/definitions/api_struct.GetSelfUserInfoReq"
}
}
],
@@ -4290,7 +4290,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetSelfUserInfoResp"
+ "$ref": "#/definitions/api_struct.GetSelfUserInfoResp"
},
{
"type": "object",
@@ -4306,13 +4306,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4346,7 +4346,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUsersInfoReq"
+ "$ref": "#/definitions/api_struct.GetUsersInfoReq"
}
}
],
@@ -4356,7 +4356,7 @@
"schema": {
"allOf": [
{
- "$ref": "#/definitions/base_info.GetUsersInfoResp"
+ "$ref": "#/definitions/api_struct.GetUsersInfoResp"
},
{
"type": "object",
@@ -4375,13 +4375,13 @@
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4415,7 +4415,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.GetUsersOnlineStatusReq"
+ "$ref": "#/definitions/api_struct.GetUsersOnlineStatusReq"
}
}
],
@@ -4423,19 +4423,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.GetUsersOnlineStatusResp"
+ "$ref": "#/definitions/api_struct.GetUsersOnlineStatusResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4469,7 +4469,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.SetGlobalRecvMessageOptReq"
+ "$ref": "#/definitions/api_struct.SetGlobalRecvMessageOptReq"
}
}
],
@@ -4477,19 +4477,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.SetGlobalRecvMessageOptResp"
+ "$ref": "#/definitions/api_struct.SetGlobalRecvMessageOptResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4523,7 +4523,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/base_info.UpdateSelfUserInfoReq"
+ "$ref": "#/definitions/api_struct.UpdateSelfUserInfoReq"
}
}
],
@@ -4531,19 +4531,19 @@
"0": {
"description": "",
"schema": {
- "$ref": "#/definitions/base_info.UpdateUserInfoResp"
+ "$ref": "#/definitions/api_struct.UpdateUserInfoResp"
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
- "$ref": "#/definitions/base_info.Swagger400Resp"
+ "$ref": "#/definitions/api_struct.Swagger400Resp"
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
- "$ref": "#/definitions/base_info.Swagger500Resp"
+ "$ref": "#/definitions/api_struct.Swagger500Resp"
}
}
}
@@ -4737,7 +4737,7 @@
}
}
},
- "base_info.AccountCheckReq": {
+ "api_struct.AccountCheckReq": {
"type": "object",
"required": [
"checkUserIDList",
@@ -4756,7 +4756,7 @@
}
}
},
- "base_info.AccountCheckResp": {
+ "api_struct.AccountCheckResp": {
"type": "object",
"properties": {
"data": {
@@ -4773,7 +4773,7 @@
}
}
},
- "base_info.AddBlacklistReq": {
+ "api_struct.AddBlacklistReq": {
"type": "object",
"required": [
"fromUserID",
@@ -4792,7 +4792,7 @@
}
}
},
- "base_info.AddBlacklistResp": {
+ "api_struct.AddBlacklistResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4803,7 +4803,7 @@
}
}
},
- "base_info.AddFriendReq": {
+ "api_struct.AddFriendReq": {
"type": "object",
"required": [
"fromUserID",
@@ -4825,7 +4825,7 @@
}
}
},
- "base_info.AddFriendResp": {
+ "api_struct.AddFriendResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4836,7 +4836,7 @@
}
}
},
- "base_info.AddFriendResponseReq": {
+ "api_struct.AddFriendResponseReq": {
"type": "object",
"required": [
"flag",
@@ -4867,7 +4867,7 @@
}
}
},
- "base_info.AddFriendResponseResp": {
+ "api_struct.AddFriendResponseResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4878,7 +4878,7 @@
}
}
},
- "base_info.ApplicationGroupResponseReq": {
+ "api_struct.ApplicationGroupResponseReq": {
"type": "object",
"required": [
"fromUserID",
@@ -4909,7 +4909,7 @@
}
}
},
- "base_info.ApplicationGroupResponseResp": {
+ "api_struct.ApplicationGroupResponseResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4920,7 +4920,7 @@
}
}
},
- "base_info.CancelMuteGroupMemberReq": {
+ "api_struct.CancelMuteGroupMemberReq": {
"type": "object",
"required": [
"groupID",
@@ -4939,7 +4939,7 @@
}
}
},
- "base_info.CancelMuteGroupMemberResp": {
+ "api_struct.CancelMuteGroupMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4950,7 +4950,7 @@
}
}
},
- "base_info.CancelMuteGroupReq": {
+ "api_struct.CancelMuteGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -4965,7 +4965,7 @@
}
}
},
- "base_info.CancelMuteGroupResp": {
+ "api_struct.CancelMuteGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -4976,7 +4976,7 @@
}
}
},
- "base_info.CleanUpMsgReq": {
+ "api_struct.CleanUpMsgReq": {
"type": "object",
"required": [
"operationID",
@@ -4991,7 +4991,7 @@
}
}
},
- "base_info.CleanUpMsgResp": {
+ "api_struct.CleanUpMsgResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5002,7 +5002,7 @@
}
}
},
- "base_info.Comment": {
+ "api_struct.Comment": {
"type": "object",
"properties": {
"content": {
@@ -5028,7 +5028,7 @@
}
}
},
- "base_info.CommentOneWorkMomentReq": {
+ "api_struct.CommentOneWorkMomentReq": {
"type": "object",
"required": [
"content",
@@ -5050,7 +5050,7 @@
}
}
},
- "base_info.CommentOneWorkMomentResp": {
+ "api_struct.CommentOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -5064,7 +5064,7 @@
}
}
},
- "base_info.Conversation": {
+ "api_struct.Conversation": {
"type": "object",
"required": [
"conversationID",
@@ -5121,7 +5121,7 @@
}
}
},
- "base_info.CreateDepartmentMemberReq": {
+ "api_struct.CreateDepartmentMemberReq": {
"type": "object",
"required": [
"operationID"
@@ -5153,7 +5153,7 @@
}
}
},
- "base_info.CreateDepartmentMemberResp": {
+ "api_struct.CreateDepartmentMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5164,7 +5164,7 @@
}
}
},
- "base_info.CreateDepartmentReq": {
+ "api_struct.CreateDepartmentReq": {
"type": "object",
"required": [
"operationID"
@@ -5205,7 +5205,7 @@
}
}
},
- "base_info.CreateDepartmentResp": {
+ "api_struct.CreateDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5216,7 +5216,7 @@
}
}
},
- "base_info.CreateGroupReq": {
+ "api_struct.CreateGroupReq": {
"type": "object",
"required": [
"operationID"
@@ -5243,7 +5243,7 @@
"memberList": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.GroupAddMemberInfo"
+ "$ref": "#/definitions/api_struct.GroupAddMemberInfo"
}
},
"notification": {
@@ -5257,7 +5257,7 @@
}
}
},
- "base_info.CreateGroupResp": {
+ "api_struct.CreateGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5268,7 +5268,7 @@
}
}
},
- "base_info.CreateOneWorkMomentReq": {
+ "api_struct.CreateOneWorkMomentReq": {
"type": "object",
"properties": {
"operationID": {
@@ -5279,7 +5279,7 @@
}
}
},
- "base_info.CreateOneWorkMomentResp": {
+ "api_struct.CreateOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -5293,7 +5293,7 @@
}
}
},
- "base_info.CreateOrganizationUserReq": {
+ "api_struct.CreateOrganizationUserReq": {
"type": "object",
"required": [
"operationID"
@@ -5337,7 +5337,7 @@
}
}
},
- "base_info.CreateOrganizationUserResp": {
+ "api_struct.CreateOrganizationUserResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5348,7 +5348,7 @@
}
}
},
- "base_info.CreateTagReq": {
+ "api_struct.CreateTagReq": {
"type": "object",
"required": [
"operationID",
@@ -5372,7 +5372,7 @@
}
}
},
- "base_info.CreateTagResp": {
+ "api_struct.CreateTagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5383,7 +5383,7 @@
}
}
},
- "base_info.DelMsgReq": {
+ "api_struct.DelMsgReq": {
"type": "object",
"required": [
"operationID",
@@ -5405,7 +5405,7 @@
}
}
},
- "base_info.DelMsgResp": {
+ "api_struct.DelMsgResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5416,7 +5416,7 @@
}
}
},
- "base_info.DeleteCommentReq": {
+ "api_struct.DeleteCommentReq": {
"type": "object",
"required": [
"contentID",
@@ -5435,7 +5435,7 @@
}
}
},
- "base_info.DeleteCommentResp": {
+ "api_struct.DeleteCommentResp": {
"type": "object",
"properties": {
"data": {
@@ -5449,7 +5449,7 @@
}
}
},
- "base_info.DeleteDepartmentReq": {
+ "api_struct.DeleteDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -5464,7 +5464,7 @@
}
}
},
- "base_info.DeleteDepartmentResp": {
+ "api_struct.DeleteDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5475,7 +5475,7 @@
}
}
},
- "base_info.DeleteFriendReq": {
+ "api_struct.DeleteFriendReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5494,7 +5494,7 @@
}
}
},
- "base_info.DeleteFriendResp": {
+ "api_struct.DeleteFriendResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5505,7 +5505,7 @@
}
}
},
- "base_info.DeleteOneWorkMomentReq": {
+ "api_struct.DeleteOneWorkMomentReq": {
"type": "object",
"required": [
"operationID",
@@ -5520,7 +5520,7 @@
}
}
},
- "base_info.DeleteOneWorkMomentResp": {
+ "api_struct.DeleteOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -5534,7 +5534,7 @@
}
}
},
- "base_info.DeleteOrganizationUserReq": {
+ "api_struct.DeleteOrganizationUserReq": {
"type": "object",
"required": [
"operationID",
@@ -5549,7 +5549,7 @@
}
}
},
- "base_info.DeleteOrganizationUserResp": {
+ "api_struct.DeleteOrganizationUserResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5560,7 +5560,7 @@
}
}
},
- "base_info.DeleteTagReq": {
+ "api_struct.DeleteTagReq": {
"type": "object",
"required": [
"operationID",
@@ -5575,7 +5575,7 @@
}
}
},
- "base_info.DeleteTagResp": {
+ "api_struct.DeleteTagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5586,7 +5586,7 @@
}
}
},
- "base_info.DeleteUserInDepartmentReq": {
+ "api_struct.DeleteUserInDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -5605,7 +5605,7 @@
}
}
},
- "base_info.DeleteUserInDepartmentResp": {
+ "api_struct.DeleteUserInDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5616,7 +5616,7 @@
}
}
},
- "base_info.DismissGroupReq": {
+ "api_struct.DismissGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -5631,7 +5631,7 @@
}
}
},
- "base_info.DismissGroupResp": {
+ "api_struct.DismissGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5642,7 +5642,7 @@
}
}
},
- "base_info.ExpireTime": {
+ "api_struct.ExpireTime": {
"type": "object",
"properties": {
"expireTimeSeconds": {
@@ -5650,7 +5650,7 @@
}
}
},
- "base_info.ForceLogoutReq": {
+ "api_struct.ForceLogoutReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5673,7 +5673,7 @@
}
}
},
- "base_info.ForceLogoutResp": {
+ "api_struct.ForceLogoutResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5684,7 +5684,7 @@
}
}
},
- "base_info.GetAllConversationsReq": {
+ "api_struct.GetAllConversationsReq": {
"type": "object",
"required": [
"operationID",
@@ -5699,13 +5699,13 @@
}
}
},
- "base_info.GetAllConversationsResp": {
+ "api_struct.GetAllConversationsResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.Conversation"
+ "$ref": "#/definitions/api_struct.Conversation"
}
},
"errCode": {
@@ -5716,7 +5716,7 @@
}
}
},
- "base_info.GetAllUsersUidReq": {
+ "api_struct.GetAllUsersUidReq": {
"type": "object",
"required": [
"operationID"
@@ -5727,7 +5727,7 @@
}
}
},
- "base_info.GetAllUsersUidResp": {
+ "api_struct.GetAllUsersUidResp": {
"type": "object",
"properties": {
"data": {
@@ -5744,7 +5744,7 @@
}
}
},
- "base_info.GetBlackListReq": {
+ "api_struct.GetBlackListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5759,7 +5759,7 @@
}
}
},
- "base_info.GetBlackListResp": {
+ "api_struct.GetBlackListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5770,7 +5770,7 @@
}
}
},
- "base_info.GetConversationReq": {
+ "api_struct.GetConversationReq": {
"type": "object",
"required": [
"conversationID",
@@ -5789,11 +5789,11 @@
}
}
},
- "base_info.GetConversationResp": {
+ "api_struct.GetConversationResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.Conversation"
+ "$ref": "#/definitions/api_struct.Conversation"
},
"errCode": {
"type": "integer"
@@ -5803,7 +5803,7 @@
}
}
},
- "base_info.GetConversationsReq": {
+ "api_struct.GetConversationsReq": {
"type": "object",
"required": [
"conversationIDs",
@@ -5825,13 +5825,13 @@
}
}
},
- "base_info.GetConversationsResp": {
+ "api_struct.GetConversationsResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.Conversation"
+ "$ref": "#/definitions/api_struct.Conversation"
}
},
"errCode": {
@@ -5842,7 +5842,7 @@
}
}
},
- "base_info.GetDepartmentMemberReq": {
+ "api_struct.GetDepartmentMemberReq": {
"type": "object",
"required": [
"departmentID",
@@ -5857,7 +5857,7 @@
}
}
},
- "base_info.GetDepartmentMemberResp": {
+ "api_struct.GetDepartmentMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5868,7 +5868,7 @@
}
}
},
- "base_info.GetFriendApplyListReq": {
+ "api_struct.GetFriendApplyListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5883,7 +5883,7 @@
}
}
},
- "base_info.GetFriendApplyListResp": {
+ "api_struct.GetFriendApplyListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5894,7 +5894,7 @@
}
}
},
- "base_info.GetFriendListReq": {
+ "api_struct.GetFriendListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5909,7 +5909,7 @@
}
}
},
- "base_info.GetFriendListResp": {
+ "api_struct.GetFriendListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5920,7 +5920,7 @@
}
}
},
- "base_info.GetGroupAllMemberReq": {
+ "api_struct.GetGroupAllMemberReq": {
"type": "object",
"required": [
"count",
@@ -5943,7 +5943,7 @@
}
}
},
- "base_info.GetGroupAllMemberResp": {
+ "api_struct.GetGroupAllMemberResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5954,7 +5954,7 @@
}
}
},
- "base_info.GetGroupApplicationListReq": {
+ "api_struct.GetGroupApplicationListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -5970,7 +5970,7 @@
}
}
},
- "base_info.GetGroupApplicationListResp": {
+ "api_struct.GetGroupApplicationListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -5981,7 +5981,7 @@
}
}
},
- "base_info.GetGroupInfoReq": {
+ "api_struct.GetGroupInfoReq": {
"type": "object",
"required": [
"groupIDList",
@@ -5999,7 +5999,7 @@
}
}
},
- "base_info.GetGroupInfoResp": {
+ "api_struct.GetGroupInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6010,7 +6010,7 @@
}
}
},
- "base_info.GetGroupMembersInfoReq": {
+ "api_struct.GetGroupMembersInfoReq": {
"type": "object",
"required": [
"groupID",
@@ -6032,7 +6032,7 @@
}
}
},
- "base_info.GetGroupMembersInfoResp": {
+ "api_struct.GetGroupMembersInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6043,7 +6043,7 @@
}
}
},
- "base_info.GetJoinedGroupListReq": {
+ "api_struct.GetJoinedGroupListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -6058,7 +6058,7 @@
}
}
},
- "base_info.GetJoinedGroupListResp": {
+ "api_struct.GetJoinedGroupListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6069,7 +6069,7 @@
}
}
},
- "base_info.GetSelfApplyListReq": {
+ "api_struct.GetSelfApplyListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -6084,7 +6084,7 @@
}
}
},
- "base_info.GetSelfApplyListResp": {
+ "api_struct.GetSelfApplyListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6095,7 +6095,7 @@
}
}
},
- "base_info.GetSelfUserInfoReq": {
+ "api_struct.GetSelfUserInfoReq": {
"type": "object",
"required": [
"operationID",
@@ -6110,7 +6110,7 @@
}
}
},
- "base_info.GetSelfUserInfoResp": {
+ "api_struct.GetSelfUserInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6121,7 +6121,7 @@
}
}
},
- "base_info.GetSubDepartmentReq": {
+ "api_struct.GetSubDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -6136,7 +6136,7 @@
}
}
},
- "base_info.GetSubDepartmentResp": {
+ "api_struct.GetSubDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6147,7 +6147,7 @@
}
}
},
- "base_info.GetTagSendLogsReq": {
+ "api_struct.GetTagSendLogsReq": {
"type": "object",
"required": [
"operationID",
@@ -6166,7 +6166,7 @@
}
}
},
- "base_info.GetTagSendLogsResp": {
+ "api_struct.GetTagSendLogsResp": {
"type": "object",
"properties": {
"data": {
@@ -6194,7 +6194,7 @@
}
}
},
- "base_info.GetUserFriendWorkMomentsReq": {
+ "api_struct.GetUserFriendWorkMomentsReq": {
"type": "object",
"required": [
"operationID",
@@ -6213,7 +6213,7 @@
}
}
},
- "base_info.GetUserFriendWorkMomentsResp": {
+ "api_struct.GetUserFriendWorkMomentsResp": {
"type": "object",
"properties": {
"data": {
@@ -6228,7 +6228,7 @@
"workMoments": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMoment"
+ "$ref": "#/definitions/api_struct.WorkMoment"
}
}
}
@@ -6241,7 +6241,7 @@
}
}
},
- "base_info.GetUserInDepartmentReq": {
+ "api_struct.GetUserInDepartmentReq": {
"type": "object",
"required": [
"operationID",
@@ -6256,7 +6256,7 @@
}
}
},
- "base_info.GetUserInDepartmentResp": {
+ "api_struct.GetUserInDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6267,7 +6267,7 @@
}
}
},
- "base_info.GetUserReqGroupApplicationListReq": {
+ "api_struct.GetUserReqGroupApplicationListReq": {
"type": "object",
"required": [
"operationID",
@@ -6282,7 +6282,7 @@
}
}
},
- "base_info.GetUserTagByIDReq": {
+ "api_struct.GetUserTagByIDReq": {
"type": "object",
"required": [
"operationID",
@@ -6297,7 +6297,7 @@
}
}
},
- "base_info.GetUserTagByIDResp": {
+ "api_struct.GetUserTagByIDResp": {
"type": "object",
"properties": {
"data": {
@@ -6316,7 +6316,7 @@
}
}
},
- "base_info.GetUserTagsReq": {
+ "api_struct.GetUserTagsReq": {
"type": "object",
"required": [
"operationID"
@@ -6327,7 +6327,7 @@
}
}
},
- "base_info.GetUserTagsResp": {
+ "api_struct.GetUserTagsResp": {
"type": "object",
"properties": {
"data": {
@@ -6349,7 +6349,7 @@
}
}
},
- "base_info.GetUserWorkMomentsReq": {
+ "api_struct.GetUserWorkMomentsReq": {
"type": "object",
"required": [
"operationID",
@@ -6371,7 +6371,7 @@
}
}
},
- "base_info.GetUserWorkMomentsResp": {
+ "api_struct.GetUserWorkMomentsResp": {
"type": "object",
"properties": {
"data": {
@@ -6386,7 +6386,7 @@
"workMoments": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMoment"
+ "$ref": "#/definitions/api_struct.WorkMoment"
}
}
}
@@ -6399,7 +6399,7 @@
}
}
},
- "base_info.GetUsersInfoReq": {
+ "api_struct.GetUsersInfoReq": {
"type": "object",
"required": [
"operationID",
@@ -6417,7 +6417,7 @@
}
}
},
- "base_info.GetUsersInfoResp": {
+ "api_struct.GetUsersInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6428,7 +6428,7 @@
}
}
},
- "base_info.GetUsersOnlineStatusReq": {
+ "api_struct.GetUsersOnlineStatusReq": {
"type": "object",
"required": [
"operationID",
@@ -6447,7 +6447,7 @@
}
}
},
- "base_info.GetUsersOnlineStatusResp": {
+ "api_struct.GetUsersOnlineStatusResp": {
"type": "object",
"properties": {
"data": {
@@ -6464,7 +6464,7 @@
}
}
},
- "base_info.GetWorkMomentByIDReq": {
+ "api_struct.GetWorkMomentByIDReq": {
"type": "object",
"required": [
"operationID",
@@ -6479,14 +6479,14 @@
}
}
},
- "base_info.GetWorkMomentByIDResp": {
+ "api_struct.GetWorkMomentByIDResp": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"workMoment": {
- "$ref": "#/definitions/base_info.WorkMoment"
+ "$ref": "#/definitions/api_struct.WorkMoment"
}
}
},
@@ -6498,7 +6498,7 @@
}
}
},
- "base_info.GroupAddMemberInfo": {
+ "api_struct.GroupAddMemberInfo": {
"type": "object",
"required": [
"roleLevel",
@@ -6517,7 +6517,7 @@
}
}
},
- "base_info.ImportFriendReq": {
+ "api_struct.ImportFriendReq": {
"type": "object",
"required": [
"friendUserIDList",
@@ -6539,13 +6539,13 @@
}
}
},
- "base_info.ImportFriendResp": {
+ "api_struct.ImportFriendResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.UserIDResult"
+ "$ref": "#/definitions/api_struct.UserIDResult"
}
},
"errCode": {
@@ -6556,7 +6556,7 @@
}
}
},
- "base_info.InviteUserToGroupReq": {
+ "api_struct.InviteUserToGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6581,13 +6581,13 @@
}
}
},
- "base_info.InviteUserToGroupResp": {
+ "api_struct.InviteUserToGroupResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.UserIDResult"
+ "$ref": "#/definitions/api_struct.UserIDResult"
}
},
"errCode": {
@@ -6598,7 +6598,7 @@
}
}
},
- "base_info.IsFriendReq": {
+ "api_struct.IsFriendReq": {
"type": "object",
"required": [
"fromUserID",
@@ -6617,11 +6617,11 @@
}
}
},
- "base_info.IsFriendResp": {
+ "api_struct.IsFriendResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.Response"
+ "$ref": "#/definitions/api_struct.Response"
},
"errCode": {
"type": "integer"
@@ -6631,7 +6631,7 @@
}
}
},
- "base_info.JoinGroupReq": {
+ "api_struct.JoinGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6655,7 +6655,7 @@
}
}
},
- "base_info.JoinGroupResp": {
+ "api_struct.JoinGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6666,7 +6666,7 @@
}
}
},
- "base_info.KickGroupMemberReq": {
+ "api_struct.KickGroupMemberReq": {
"type": "object",
"required": [
"groupID",
@@ -6691,13 +6691,13 @@
}
}
},
- "base_info.KickGroupMemberResp": {
+ "api_struct.KickGroupMemberResp": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.UserIDResult"
+ "$ref": "#/definitions/api_struct.UserIDResult"
}
},
"errCode": {
@@ -6708,7 +6708,7 @@
}
}
},
- "base_info.LikeOneWorkMomentReq": {
+ "api_struct.LikeOneWorkMomentReq": {
"type": "object",
"required": [
"operationID",
@@ -6723,7 +6723,7 @@
}
}
},
- "base_info.LikeOneWorkMomentResp": {
+ "api_struct.LikeOneWorkMomentResp": {
"type": "object",
"properties": {
"data": {
@@ -6737,7 +6737,7 @@
}
}
},
- "base_info.ManagementBatchSendMsgReq": {
+ "api_struct.ManagementBatchSendMsgReq": {
"type": "object",
"required": [
"contentType",
@@ -6790,7 +6790,7 @@
}
}
},
- "base_info.ManagementSendMsgReq": {
+ "api_struct.ManagementSendMsgReq": {
"type": "object",
"required": [
"contentType",
@@ -6840,7 +6840,7 @@
}
}
},
- "base_info.ManagementSendMsgResp": {
+ "api_struct.ManagementSendMsgResp": {
"type": "object",
"properties": {
"data": {
@@ -6854,7 +6854,7 @@
}
}
},
- "base_info.MinioUploadFileResp": {
+ "api_struct.MinioUploadFileResp": {
"type": "object",
"properties": {
"data": {
@@ -6882,7 +6882,7 @@
}
}
},
- "base_info.MuteGroupMemberReq": {
+ "api_struct.MuteGroupMemberReq": {
"type": "object",
"required": [
"groupID",
@@ -6905,7 +6905,7 @@
}
}
},
- "base_info.MuteGroupReq": {
+ "api_struct.MuteGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6920,7 +6920,7 @@
}
}
},
- "base_info.MuteGroupResp": {
+ "api_struct.MuteGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6931,7 +6931,7 @@
}
}
},
- "base_info.ParseTokenReq": {
+ "api_struct.ParseTokenReq": {
"type": "object",
"required": [
"operationID"
@@ -6942,7 +6942,7 @@
}
}
},
- "base_info.ParseTokenResp": {
+ "api_struct.ParseTokenResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6953,7 +6953,7 @@
}
}
},
- "base_info.QuitGroupReq": {
+ "api_struct.QuitGroupReq": {
"type": "object",
"required": [
"groupID",
@@ -6968,7 +6968,7 @@
}
}
},
- "base_info.QuitGroupResp": {
+ "api_struct.QuitGroupResp": {
"type": "object",
"properties": {
"errCode": {
@@ -6979,7 +6979,7 @@
}
}
},
- "base_info.RemoveBlackListReq": {
+ "api_struct.RemoveBlackListReq": {
"type": "object",
"required": [
"fromUserID",
@@ -6998,7 +6998,7 @@
}
}
},
- "base_info.RemoveBlackListResp": {
+ "api_struct.RemoveBlackListResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7009,7 +7009,7 @@
}
}
},
- "base_info.Response": {
+ "api_struct.Response": {
"type": "object",
"properties": {
"isFriend": {
@@ -7017,7 +7017,7 @@
}
}
},
- "base_info.SendMsg2TagReq": {
+ "api_struct.SendMsg2TagReq": {
"type": "object",
"required": [
"content",
@@ -7054,7 +7054,7 @@
}
}
},
- "base_info.SendMsg2TagResp": {
+ "api_struct.SendMsg2TagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7065,7 +7065,7 @@
}
}
},
- "base_info.SetFriendRemarkReq": {
+ "api_struct.SetFriendRemarkReq": {
"type": "object",
"required": [
"fromUserID",
@@ -7087,7 +7087,7 @@
}
}
},
- "base_info.SetFriendRemarkResp": {
+ "api_struct.SetFriendRemarkResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7098,7 +7098,7 @@
}
}
},
- "base_info.SetGlobalRecvMessageOptReq": {
+ "api_struct.SetGlobalRecvMessageOptReq": {
"type": "object",
"required": [
"operationID"
@@ -7117,7 +7117,7 @@
}
}
},
- "base_info.SetGlobalRecvMessageOptResp": {
+ "api_struct.SetGlobalRecvMessageOptResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7128,7 +7128,7 @@
}
}
},
- "base_info.SetGroupInfoReq": {
+ "api_struct.SetGroupInfoReq": {
"type": "object",
"required": [
"groupID",
@@ -7167,7 +7167,7 @@
}
}
},
- "base_info.SetGroupInfoResp": {
+ "api_struct.SetGroupInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7178,7 +7178,7 @@
}
}
},
- "base_info.SetGroupMemberInfoReq": {
+ "api_struct.SetGroupMemberInfoReq": {
"type": "object",
"required": [
"groupID",
@@ -7211,7 +7211,7 @@
}
}
},
- "base_info.SetGroupMemberInfoResp": {
+ "api_struct.SetGroupMemberInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7222,7 +7222,7 @@
}
}
},
- "base_info.SetTagReq": {
+ "api_struct.SetTagReq": {
"type": "object",
"required": [
"operationID",
@@ -7252,7 +7252,7 @@
}
}
},
- "base_info.SetTagResp": {
+ "api_struct.SetTagResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7263,7 +7263,7 @@
}
}
},
- "base_info.Swagger400Resp": {
+ "api_struct.Swagger400Resp": {
"type": "object",
"properties": {
"errCode": {
@@ -7276,7 +7276,7 @@
}
}
},
- "base_info.Swagger500Resp": {
+ "api_struct.Swagger500Resp": {
"type": "object",
"properties": {
"errCode": {
@@ -7289,7 +7289,7 @@
}
}
},
- "base_info.TransferGroupOwnerReq": {
+ "api_struct.TransferGroupOwnerReq": {
"type": "object",
"required": [
"groupID",
@@ -7312,7 +7312,7 @@
}
}
},
- "base_info.TransferGroupOwnerResp": {
+ "api_struct.TransferGroupOwnerResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7323,7 +7323,7 @@
}
}
},
- "base_info.UpdateDepartmentReq": {
+ "api_struct.UpdateDepartmentReq": {
"type": "object",
"required": [
"departmentID",
@@ -7365,7 +7365,7 @@
}
}
},
- "base_info.UpdateDepartmentResp": {
+ "api_struct.UpdateDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7376,7 +7376,7 @@
}
}
},
- "base_info.UpdateOrganizationUserReq": {
+ "api_struct.UpdateOrganizationUserReq": {
"type": "object",
"required": [
"operationID"
@@ -7420,7 +7420,7 @@
}
}
},
- "base_info.UpdateOrganizationUserResp": {
+ "api_struct.UpdateOrganizationUserResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7431,7 +7431,7 @@
}
}
},
- "base_info.UpdateSelfUserInfoReq": {
+ "api_struct.UpdateSelfUserInfoReq": {
"type": "object",
"required": [
"operationID",
@@ -7480,7 +7480,7 @@
}
}
},
- "base_info.UpdateUserInDepartmentReq": {
+ "api_struct.UpdateUserInDepartmentReq": {
"type": "object",
"required": [
"operationID"
@@ -7512,7 +7512,7 @@
}
}
},
- "base_info.UpdateUserInDepartmentResp": {
+ "api_struct.UpdateUserInDepartmentResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7523,7 +7523,7 @@
}
}
},
- "base_info.UpdateUserInfoResp": {
+ "api_struct.UpdateUserInfoResp": {
"type": "object",
"properties": {
"errCode": {
@@ -7534,7 +7534,7 @@
}
}
},
- "base_info.UserIDResult": {
+ "api_struct.UserIDResult": {
"type": "object",
"properties": {
"result": {
@@ -7545,7 +7545,7 @@
}
}
},
- "base_info.UserRegisterReq": {
+ "api_struct.UserRegisterReq": {
"type": "object",
"required": [
"operationID",
@@ -7605,11 +7605,11 @@
}
}
},
- "base_info.UserRegisterResp": {
+ "api_struct.UserRegisterResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.UserTokenInfo"
+ "$ref": "#/definitions/api_struct.UserTokenInfo"
},
"errCode": {
"type": "integer"
@@ -7619,7 +7619,7 @@
}
}
},
- "base_info.UserTokenInfo": {
+ "api_struct.UserTokenInfo": {
"type": "object",
"properties": {
"expiredTime": {
@@ -7633,7 +7633,7 @@
}
}
},
- "base_info.UserTokenReq": {
+ "api_struct.UserTokenReq": {
"type": "object",
"required": [
"operationID",
@@ -7661,11 +7661,11 @@
}
}
},
- "base_info.UserTokenResp": {
+ "api_struct.UserTokenResp": {
"type": "object",
"properties": {
"data": {
- "$ref": "#/definitions/base_info.UserTokenInfo"
+ "$ref": "#/definitions/api_struct.UserTokenInfo"
},
"errCode": {
"type": "integer"
@@ -7675,19 +7675,19 @@
}
}
},
- "base_info.WorkMoment": {
+ "api_struct.WorkMoment": {
"type": "object",
"properties": {
"atUsers": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMomentUser"
+ "$ref": "#/definitions/api_struct.WorkMomentUser"
}
},
"comments": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.Comment"
+ "$ref": "#/definitions/api_struct.Comment"
}
},
"content": {
@@ -7702,7 +7702,7 @@
"likeUsers": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMomentUser"
+ "$ref": "#/definitions/api_struct.WorkMomentUser"
}
},
"permission": {
@@ -7711,7 +7711,7 @@
"permissionUsers": {
"type": "array",
"items": {
- "$ref": "#/definitions/base_info.WorkMomentUser"
+ "$ref": "#/definitions/api_struct.WorkMomentUser"
}
},
"userID": {
@@ -7725,7 +7725,7 @@
}
}
},
- "base_info.WorkMomentUser": {
+ "api_struct.WorkMomentUser": {
"type": "object",
"properties": {
"userID": {
diff --git a/cmd/open_im_api/docs/swagger.yaml b/cmd/open_im_api/docs/swagger.yaml
index 77f32fd30..6c649c751 100644
--- a/cmd/open_im_api/docs/swagger.yaml
+++ b/cmd/open_im_api/docs/swagger.yaml
@@ -122,7 +122,7 @@ definitions:
videoUUID:
type: string
type: object
- base_info.AccountCheckReq:
+ api_struct.AccountCheckReq:
properties:
checkUserIDList:
items:
@@ -135,7 +135,7 @@ definitions:
- checkUserIDList
- operationID
type: object
- base_info.AccountCheckResp:
+ api_struct.AccountCheckResp:
properties:
data:
items:
@@ -146,7 +146,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.AddBlacklistReq:
+ api_struct.AddBlacklistReq:
properties:
fromUserID:
type: string
@@ -159,14 +159,14 @@ definitions:
- operationID
- toUserID
type: object
- base_info.AddBlacklistResp:
+ api_struct.AddBlacklistResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.AddFriendReq:
+ api_struct.AddFriendReq:
properties:
fromUserID:
type: string
@@ -181,14 +181,14 @@ definitions:
- operationID
- toUserID
type: object
- base_info.AddFriendResp:
+ api_struct.AddFriendResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.AddFriendResponseReq:
+ api_struct.AddFriendResponseReq:
properties:
flag:
enum:
@@ -210,14 +210,14 @@ definitions:
- operationID
- toUserID
type: object
- base_info.AddFriendResponseResp:
+ api_struct.AddFriendResponseResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.ApplicationGroupResponseReq:
+ api_struct.ApplicationGroupResponseReq:
properties:
fromUserID:
description: application from FromUserID
@@ -239,14 +239,14 @@ definitions:
- handleResult
- operationID
type: object
- base_info.ApplicationGroupResponseResp:
+ api_struct.ApplicationGroupResponseResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.CancelMuteGroupMemberReq:
+ api_struct.CancelMuteGroupMemberReq:
properties:
groupID:
type: string
@@ -259,14 +259,14 @@ definitions:
- operationID
- userID
type: object
- base_info.CancelMuteGroupMemberResp:
+ api_struct.CancelMuteGroupMemberResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.CancelMuteGroupReq:
+ api_struct.CancelMuteGroupReq:
properties:
groupID:
type: string
@@ -276,14 +276,14 @@ definitions:
- groupID
- operationID
type: object
- base_info.CancelMuteGroupResp:
+ api_struct.CancelMuteGroupResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.CleanUpMsgReq:
+ api_struct.CleanUpMsgReq:
properties:
operationID:
type: string
@@ -293,14 +293,14 @@ definitions:
- operationID
- userID
type: object
- base_info.CleanUpMsgResp:
+ api_struct.CleanUpMsgResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.Comment:
+ api_struct.Comment:
properties:
content:
type: string
@@ -317,7 +317,7 @@ definitions:
userName:
type: string
type: object
- base_info.CommentOneWorkMomentReq:
+ api_struct.CommentOneWorkMomentReq:
properties:
content:
type: string
@@ -332,7 +332,7 @@ definitions:
- operationID
- workMomentID
type: object
- base_info.CommentOneWorkMomentResp:
+ api_struct.CommentOneWorkMomentResp:
properties:
data:
type: object
@@ -341,7 +341,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.Conversation:
+ api_struct.Conversation:
properties:
attachedInfo:
type: string
@@ -380,7 +380,7 @@ definitions:
- conversationType
- ownerUserID
type: object
- base_info.CreateDepartmentMemberReq:
+ api_struct.CreateDepartmentMemberReq:
properties:
departmentID:
type: string
@@ -401,14 +401,14 @@ definitions:
required:
- operationID
type: object
- base_info.CreateDepartmentMemberResp:
+ api_struct.CreateDepartmentMemberResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.CreateDepartmentReq:
+ api_struct.CreateDepartmentReq:
properties:
createTime:
type: integer
@@ -435,14 +435,14 @@ definitions:
required:
- operationID
type: object
- base_info.CreateDepartmentResp:
+ api_struct.CreateDepartmentResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.CreateGroupReq:
+ api_struct.CreateGroupReq:
properties:
ex:
type: string
@@ -458,7 +458,7 @@ definitions:
type: string
memberList:
items:
- $ref: '#/definitions/base_info.GroupAddMemberInfo'
+ $ref: '#/definitions/api_struct.GroupAddMemberInfo'
type: array
notification:
type: string
@@ -469,21 +469,21 @@ definitions:
required:
- operationID
type: object
- base_info.CreateGroupResp:
+ api_struct.CreateGroupResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.CreateOneWorkMomentReq:
+ api_struct.CreateOneWorkMomentReq:
properties:
operationID:
type: string
workMoment:
$ref: '#/definitions/office.WorkMoment'
type: object
- base_info.CreateOneWorkMomentResp:
+ api_struct.CreateOneWorkMomentResp:
properties:
data:
type: object
@@ -492,7 +492,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.CreateOrganizationUserReq:
+ api_struct.CreateOrganizationUserReq:
properties:
birth:
type: integer
@@ -521,14 +521,14 @@ definitions:
required:
- operationID
type: object
- base_info.CreateOrganizationUserResp:
+ api_struct.CreateOrganizationUserResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.CreateTagReq:
+ api_struct.CreateTagReq:
properties:
operationID:
type: string
@@ -545,14 +545,14 @@ definitions:
- tagName
- userIDList
type: object
- base_info.CreateTagResp:
+ api_struct.CreateTagResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.DelMsgReq:
+ api_struct.DelMsgReq:
properties:
operationID:
type: string
@@ -567,14 +567,14 @@ definitions:
- seqList
- userID
type: object
- base_info.DelMsgResp:
+ api_struct.DelMsgResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.DeleteCommentReq:
+ api_struct.DeleteCommentReq:
properties:
contentID:
type: string
@@ -587,7 +587,7 @@ definitions:
- operationID
- workMomentID
type: object
- base_info.DeleteCommentResp:
+ api_struct.DeleteCommentResp:
properties:
data:
type: object
@@ -596,7 +596,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.DeleteDepartmentReq:
+ api_struct.DeleteDepartmentReq:
properties:
departmentID:
type: string
@@ -606,14 +606,14 @@ definitions:
- departmentID
- operationID
type: object
- base_info.DeleteDepartmentResp:
+ api_struct.DeleteDepartmentResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.DeleteFriendReq:
+ api_struct.DeleteFriendReq:
properties:
fromUserID:
type: string
@@ -626,14 +626,14 @@ definitions:
- operationID
- toUserID
type: object
- base_info.DeleteFriendResp:
+ api_struct.DeleteFriendResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.DeleteOneWorkMomentReq:
+ api_struct.DeleteOneWorkMomentReq:
properties:
operationID:
type: string
@@ -643,7 +643,7 @@ definitions:
- operationID
- workMomentID
type: object
- base_info.DeleteOneWorkMomentResp:
+ api_struct.DeleteOneWorkMomentResp:
properties:
data:
type: object
@@ -652,7 +652,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.DeleteOrganizationUserReq:
+ api_struct.DeleteOrganizationUserReq:
properties:
operationID:
type: string
@@ -662,14 +662,14 @@ definitions:
- operationID
- userID
type: object
- base_info.DeleteOrganizationUserResp:
+ api_struct.DeleteOrganizationUserResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.DeleteTagReq:
+ api_struct.DeleteTagReq:
properties:
operationID:
type: string
@@ -679,14 +679,14 @@ definitions:
- operationID
- tagID
type: object
- base_info.DeleteTagResp:
+ api_struct.DeleteTagResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.DeleteUserInDepartmentReq:
+ api_struct.DeleteUserInDepartmentReq:
properties:
departmentID:
type: string
@@ -699,14 +699,14 @@ definitions:
- operationID
- userID
type: object
- base_info.DeleteUserInDepartmentResp:
+ api_struct.DeleteUserInDepartmentResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.DismissGroupReq:
+ api_struct.DismissGroupReq:
properties:
groupID:
type: string
@@ -716,19 +716,19 @@ definitions:
- groupID
- operationID
type: object
- base_info.DismissGroupResp:
+ api_struct.DismissGroupResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.ExpireTime:
+ api_struct.ExpireTime:
properties:
expireTimeSeconds:
type: integer
type: object
- base_info.ForceLogoutReq:
+ api_struct.ForceLogoutReq:
properties:
fromUserID:
maxLength: 64
@@ -745,14 +745,14 @@ definitions:
- operationID
- platform
type: object
- base_info.ForceLogoutResp:
+ api_struct.ForceLogoutResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetAllConversationsReq:
+ api_struct.GetAllConversationsReq:
properties:
operationID:
type: string
@@ -762,25 +762,25 @@ definitions:
- operationID
- ownerUserID
type: object
- base_info.GetAllConversationsResp:
+ api_struct.GetAllConversationsResp:
properties:
data:
items:
- $ref: '#/definitions/base_info.Conversation'
+ $ref: '#/definitions/api_struct.Conversation'
type: array
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetAllUsersUidReq:
+ api_struct.GetAllUsersUidReq:
properties:
operationID:
type: string
required:
- operationID
type: object
- base_info.GetAllUsersUidResp:
+ api_struct.GetAllUsersUidResp:
properties:
data:
items:
@@ -791,7 +791,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.GetBlackListReq:
+ api_struct.GetBlackListReq:
properties:
fromUserID:
type: string
@@ -801,14 +801,14 @@ definitions:
- fromUserID
- operationID
type: object
- base_info.GetBlackListResp:
+ api_struct.GetBlackListResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetConversationReq:
+ api_struct.GetConversationReq:
properties:
conversationID:
type: string
@@ -821,16 +821,16 @@ definitions:
- operationID
- ownerUserID
type: object
- base_info.GetConversationResp:
+ api_struct.GetConversationResp:
properties:
data:
- $ref: '#/definitions/base_info.Conversation'
+ $ref: '#/definitions/api_struct.Conversation'
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetConversationsReq:
+ api_struct.GetConversationsReq:
properties:
conversationIDs:
items:
@@ -845,18 +845,18 @@ definitions:
- operationID
- ownerUserID
type: object
- base_info.GetConversationsResp:
+ api_struct.GetConversationsResp:
properties:
data:
items:
- $ref: '#/definitions/base_info.Conversation'
+ $ref: '#/definitions/api_struct.Conversation'
type: array
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetDepartmentMemberReq:
+ api_struct.GetDepartmentMemberReq:
properties:
departmentID:
type: string
@@ -866,14 +866,14 @@ definitions:
- departmentID
- operationID
type: object
- base_info.GetDepartmentMemberResp:
+ api_struct.GetDepartmentMemberResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetFriendApplyListReq:
+ api_struct.GetFriendApplyListReq:
properties:
fromUserID:
type: string
@@ -883,14 +883,14 @@ definitions:
- fromUserID
- operationID
type: object
- base_info.GetFriendApplyListResp:
+ api_struct.GetFriendApplyListResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetFriendListReq:
+ api_struct.GetFriendListReq:
properties:
fromUserID:
type: string
@@ -900,14 +900,14 @@ definitions:
- fromUserID
- operationID
type: object
- base_info.GetFriendListResp:
+ api_struct.GetFriendListResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetGroupAllMemberReq:
+ api_struct.GetGroupAllMemberReq:
properties:
count:
type: integer
@@ -923,14 +923,14 @@ definitions:
- offset
- operationID
type: object
- base_info.GetGroupAllMemberResp:
+ api_struct.GetGroupAllMemberResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetGroupApplicationListReq:
+ api_struct.GetGroupApplicationListReq:
properties:
fromUserID:
description: 作为管理员或群主收到的 进群申请
@@ -941,14 +941,14 @@ definitions:
- fromUserID
- operationID
type: object
- base_info.GetGroupApplicationListResp:
+ api_struct.GetGroupApplicationListResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetGroupInfoReq:
+ api_struct.GetGroupInfoReq:
properties:
groupIDList:
items:
@@ -960,14 +960,14 @@ definitions:
- groupIDList
- operationID
type: object
- base_info.GetGroupInfoResp:
+ api_struct.GetGroupInfoResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetGroupMembersInfoReq:
+ api_struct.GetGroupMembersInfoReq:
properties:
groupID:
type: string
@@ -982,14 +982,14 @@ definitions:
- memberList
- operationID
type: object
- base_info.GetGroupMembersInfoResp:
+ api_struct.GetGroupMembersInfoResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetJoinedGroupListReq:
+ api_struct.GetJoinedGroupListReq:
properties:
fromUserID:
type: string
@@ -999,14 +999,14 @@ definitions:
- fromUserID
- operationID
type: object
- base_info.GetJoinedGroupListResp:
+ api_struct.GetJoinedGroupListResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetSelfApplyListReq:
+ api_struct.GetSelfApplyListReq:
properties:
fromUserID:
type: string
@@ -1016,14 +1016,14 @@ definitions:
- fromUserID
- operationID
type: object
- base_info.GetSelfApplyListResp:
+ api_struct.GetSelfApplyListResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetSelfUserInfoReq:
+ api_struct.GetSelfUserInfoReq:
properties:
operationID:
type: string
@@ -1033,14 +1033,14 @@ definitions:
- operationID
- userID
type: object
- base_info.GetSelfUserInfoResp:
+ api_struct.GetSelfUserInfoResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetSubDepartmentReq:
+ api_struct.GetSubDepartmentReq:
properties:
departmentID:
type: string
@@ -1050,14 +1050,14 @@ definitions:
- departmentID
- operationID
type: object
- base_info.GetSubDepartmentResp:
+ api_struct.GetSubDepartmentResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetTagSendLogsReq:
+ api_struct.GetTagSendLogsReq:
properties:
operationID:
type: string
@@ -1070,7 +1070,7 @@ definitions:
- pageNumber
- showNumber
type: object
- base_info.GetTagSendLogsResp:
+ api_struct.GetTagSendLogsResp:
properties:
data:
properties:
@@ -1088,7 +1088,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.GetUserFriendWorkMomentsReq:
+ api_struct.GetUserFriendWorkMomentsReq:
properties:
operationID:
type: string
@@ -1101,7 +1101,7 @@ definitions:
- pageNumber
- showNumber
type: object
- base_info.GetUserFriendWorkMomentsResp:
+ api_struct.GetUserFriendWorkMomentsResp:
properties:
data:
properties:
@@ -1111,7 +1111,7 @@ definitions:
type: integer
workMoments:
items:
- $ref: '#/definitions/base_info.WorkMoment'
+ $ref: '#/definitions/api_struct.WorkMoment'
type: array
type: object
errCode:
@@ -1119,7 +1119,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.GetUserInDepartmentReq:
+ api_struct.GetUserInDepartmentReq:
properties:
operationID:
type: string
@@ -1129,14 +1129,14 @@ definitions:
- operationID
- userID
type: object
- base_info.GetUserInDepartmentResp:
+ api_struct.GetUserInDepartmentResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetUserReqGroupApplicationListReq:
+ api_struct.GetUserReqGroupApplicationListReq:
properties:
operationID:
type: string
@@ -1146,7 +1146,7 @@ definitions:
- operationID
- userID
type: object
- base_info.GetUserTagByIDReq:
+ api_struct.GetUserTagByIDReq:
properties:
operationID:
type: string
@@ -1156,7 +1156,7 @@ definitions:
- operationID
- tagID
type: object
- base_info.GetUserTagByIDResp:
+ api_struct.GetUserTagByIDResp:
properties:
data:
properties:
@@ -1168,14 +1168,14 @@ definitions:
errMsg:
type: string
type: object
- base_info.GetUserTagsReq:
+ api_struct.GetUserTagsReq:
properties:
operationID:
type: string
required:
- operationID
type: object
- base_info.GetUserTagsResp:
+ api_struct.GetUserTagsResp:
properties:
data:
properties:
@@ -1189,7 +1189,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.GetUserWorkMomentsReq:
+ api_struct.GetUserWorkMomentsReq:
properties:
operationID:
type: string
@@ -1204,7 +1204,7 @@ definitions:
- pageNumber
- showNumber
type: object
- base_info.GetUserWorkMomentsResp:
+ api_struct.GetUserWorkMomentsResp:
properties:
data:
properties:
@@ -1214,7 +1214,7 @@ definitions:
type: integer
workMoments:
items:
- $ref: '#/definitions/base_info.WorkMoment'
+ $ref: '#/definitions/api_struct.WorkMoment'
type: array
type: object
errCode:
@@ -1222,7 +1222,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.GetUsersInfoReq:
+ api_struct.GetUsersInfoReq:
properties:
operationID:
type: string
@@ -1234,14 +1234,14 @@ definitions:
- operationID
- userIDList
type: object
- base_info.GetUsersInfoResp:
+ api_struct.GetUsersInfoResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GetUsersOnlineStatusReq:
+ api_struct.GetUsersOnlineStatusReq:
properties:
operationID:
type: string
@@ -1254,7 +1254,7 @@ definitions:
- operationID
- userIDList
type: object
- base_info.GetUsersOnlineStatusResp:
+ api_struct.GetUsersOnlineStatusResp:
properties:
data:
items:
@@ -1265,7 +1265,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.GetWorkMomentByIDReq:
+ api_struct.GetWorkMomentByIDReq:
properties:
operationID:
type: string
@@ -1275,19 +1275,19 @@ definitions:
- operationID
- workMomentID
type: object
- base_info.GetWorkMomentByIDResp:
+ api_struct.GetWorkMomentByIDResp:
properties:
data:
properties:
workMoment:
- $ref: '#/definitions/base_info.WorkMoment'
+ $ref: '#/definitions/api_struct.WorkMoment'
type: object
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.GroupAddMemberInfo:
+ api_struct.GroupAddMemberInfo:
properties:
roleLevel:
enum:
@@ -1300,7 +1300,7 @@ definitions:
- roleLevel
- userID
type: object
- base_info.ImportFriendReq:
+ api_struct.ImportFriendReq:
properties:
friendUserIDList:
items:
@@ -1315,18 +1315,18 @@ definitions:
- fromUserID
- operationID
type: object
- base_info.ImportFriendResp:
+ api_struct.ImportFriendResp:
properties:
data:
items:
- $ref: '#/definitions/base_info.UserIDResult'
+ $ref: '#/definitions/api_struct.UserIDResult'
type: array
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.InviteUserToGroupReq:
+ api_struct.InviteUserToGroupReq:
properties:
groupID:
type: string
@@ -1343,18 +1343,18 @@ definitions:
- invitedUserIDList
- operationID
type: object
- base_info.InviteUserToGroupResp:
+ api_struct.InviteUserToGroupResp:
properties:
data:
items:
- $ref: '#/definitions/base_info.UserIDResult'
+ $ref: '#/definitions/api_struct.UserIDResult'
type: array
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.IsFriendReq:
+ api_struct.IsFriendReq:
properties:
fromUserID:
type: string
@@ -1367,16 +1367,16 @@ definitions:
- operationID
- toUserID
type: object
- base_info.IsFriendResp:
+ api_struct.IsFriendResp:
properties:
data:
- $ref: '#/definitions/base_info.Response'
+ $ref: '#/definitions/api_struct.Response'
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.JoinGroupReq:
+ api_struct.JoinGroupReq:
properties:
groupID:
type: string
@@ -1392,14 +1392,14 @@ definitions:
- groupID
- operationID
type: object
- base_info.JoinGroupResp:
+ api_struct.JoinGroupResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.KickGroupMemberReq:
+ api_struct.KickGroupMemberReq:
properties:
groupID:
type: string
@@ -1416,18 +1416,18 @@ definitions:
- kickedUserIDList
- operationID
type: object
- base_info.KickGroupMemberResp:
+ api_struct.KickGroupMemberResp:
properties:
data:
items:
- $ref: '#/definitions/base_info.UserIDResult'
+ $ref: '#/definitions/api_struct.UserIDResult'
type: array
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.LikeOneWorkMomentReq:
+ api_struct.LikeOneWorkMomentReq:
properties:
operationID:
type: string
@@ -1437,7 +1437,7 @@ definitions:
- operationID
- workMomentID
type: object
- base_info.LikeOneWorkMomentResp:
+ api_struct.LikeOneWorkMomentResp:
properties:
data:
type: object
@@ -1446,7 +1446,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.ManagementBatchSendMsgReq:
+ api_struct.ManagementBatchSendMsgReq:
properties:
businessOperationID:
type: string
@@ -1482,7 +1482,7 @@ definitions:
- sendID
- sessionType
type: object
- base_info.ManagementSendMsgReq:
+ api_struct.ManagementSendMsgReq:
properties:
businessOperationID:
type: string
@@ -1516,7 +1516,7 @@ definitions:
- sendID
- sessionType
type: object
- base_info.ManagementSendMsgResp:
+ api_struct.ManagementSendMsgResp:
properties:
data:
$ref: '#/definitions/server_api_params.UserSendMsgResp'
@@ -1525,7 +1525,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.MinioUploadFileResp:
+ api_struct.MinioUploadFileResp:
properties:
data:
properties:
@@ -1543,7 +1543,7 @@ definitions:
errMsg:
type: string
type: object
- base_info.MuteGroupMemberReq:
+ api_struct.MuteGroupMemberReq:
properties:
groupID:
type: string
@@ -1559,7 +1559,7 @@ definitions:
- operationID
- userID
type: object
- base_info.MuteGroupReq:
+ api_struct.MuteGroupReq:
properties:
groupID:
type: string
@@ -1569,28 +1569,28 @@ definitions:
- groupID
- operationID
type: object
- base_info.MuteGroupResp:
+ api_struct.MuteGroupResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.ParseTokenReq:
+ api_struct.ParseTokenReq:
properties:
operationID:
type: string
required:
- operationID
type: object
- base_info.ParseTokenResp:
+ api_struct.ParseTokenResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.QuitGroupReq:
+ api_struct.QuitGroupReq:
properties:
groupID:
type: string
@@ -1600,14 +1600,14 @@ definitions:
- groupID
- operationID
type: object
- base_info.QuitGroupResp:
+ api_struct.QuitGroupResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.RemoveBlackListReq:
+ api_struct.RemoveBlackListReq:
properties:
fromUserID:
type: string
@@ -1620,19 +1620,19 @@ definitions:
- operationID
- toUserID
type: object
- base_info.RemoveBlackListResp:
+ api_struct.RemoveBlackListResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.Response:
+ api_struct.Response:
properties:
isFriend:
type: boolean
type: object
- base_info.SendMsg2TagReq:
+ api_struct.SendMsg2TagReq:
properties:
content:
type: string
@@ -1657,14 +1657,14 @@ definitions:
- operationID
- senderPlatformID
type: object
- base_info.SendMsg2TagResp:
+ api_struct.SendMsg2TagResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.SetFriendRemarkReq:
+ api_struct.SetFriendRemarkReq:
properties:
fromUserID:
type: string
@@ -1679,14 +1679,14 @@ definitions:
- operationID
- toUserID
type: object
- base_info.SetFriendRemarkResp:
+ api_struct.SetFriendRemarkResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.SetGlobalRecvMessageOptReq:
+ api_struct.SetGlobalRecvMessageOptReq:
properties:
globalRecvMsgOpt:
enum:
@@ -1699,14 +1699,14 @@ definitions:
required:
- operationID
type: object
- base_info.SetGlobalRecvMessageOptResp:
+ api_struct.SetGlobalRecvMessageOptResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.SetGroupInfoReq:
+ api_struct.SetGroupInfoReq:
properties:
applyMemberFriend:
type: integer
@@ -1732,14 +1732,14 @@ definitions:
- groupID
- operationID
type: object
- base_info.SetGroupInfoResp:
+ api_struct.SetGroupInfoResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.SetGroupMemberInfoReq:
+ api_struct.SetGroupMemberInfoReq:
properties:
ex:
type: string
@@ -1762,14 +1762,14 @@ definitions:
- operationID
- userID
type: object
- base_info.SetGroupMemberInfoResp:
+ api_struct.SetGroupMemberInfoResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.SetTagReq:
+ api_struct.SetTagReq:
properties:
increaseUserIDList:
items:
@@ -1789,14 +1789,14 @@ definitions:
- operationID
- tagID
type: object
- base_info.SetTagResp:
+ api_struct.SetTagResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.Swagger400Resp:
+ api_struct.Swagger400Resp:
properties:
errCode:
example: 400
@@ -1805,7 +1805,7 @@ definitions:
example: err msg
type: string
type: object
- base_info.Swagger500Resp:
+ api_struct.Swagger500Resp:
properties:
errCode:
example: 500
@@ -1814,7 +1814,7 @@ definitions:
example: err msg
type: string
type: object
- base_info.TransferGroupOwnerReq:
+ api_struct.TransferGroupOwnerReq:
properties:
groupID:
type: string
@@ -1830,14 +1830,14 @@ definitions:
- oldOwnerUserID
- operationID
type: object
- base_info.TransferGroupOwnerResp:
+ api_struct.TransferGroupOwnerResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.UpdateDepartmentReq:
+ api_struct.UpdateDepartmentReq:
properties:
createTime:
type: integer
@@ -1865,14 +1865,14 @@ definitions:
- departmentID
- operationID
type: object
- base_info.UpdateDepartmentResp:
+ api_struct.UpdateDepartmentResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.UpdateOrganizationUserReq:
+ api_struct.UpdateOrganizationUserReq:
properties:
birth:
type: integer
@@ -1901,14 +1901,14 @@ definitions:
required:
- operationID
type: object
- base_info.UpdateOrganizationUserResp:
+ api_struct.UpdateOrganizationUserResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.UpdateSelfUserInfoReq:
+ api_struct.UpdateSelfUserInfoReq:
properties:
birth:
type: integer
@@ -1944,7 +1944,7 @@ definitions:
- operationID
- userID
type: object
- base_info.UpdateUserInDepartmentReq:
+ api_struct.UpdateUserInDepartmentReq:
properties:
departmentID:
type: string
@@ -1965,28 +1965,28 @@ definitions:
required:
- operationID
type: object
- base_info.UpdateUserInDepartmentResp:
+ api_struct.UpdateUserInDepartmentResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.UpdateUserInfoResp:
+ api_struct.UpdateUserInfoResp:
properties:
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.UserIDResult:
+ api_struct.UserIDResult:
properties:
result:
type: integer
userID:
type: string
type: object
- base_info.UserRegisterReq:
+ api_struct.UserRegisterReq:
properties:
birth:
type: integer
@@ -2031,16 +2031,16 @@ definitions:
- secret
- userID
type: object
- base_info.UserRegisterResp:
+ api_struct.UserRegisterResp:
properties:
data:
- $ref: '#/definitions/base_info.UserTokenInfo'
+ $ref: '#/definitions/api_struct.UserTokenInfo'
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.UserTokenInfo:
+ api_struct.UserTokenInfo:
properties:
expiredTime:
type: integer
@@ -2049,7 +2049,7 @@ definitions:
userID:
type: string
type: object
- base_info.UserTokenReq:
+ api_struct.UserTokenReq:
properties:
operationID:
type: string
@@ -2070,24 +2070,24 @@ definitions:
- secret
- userID
type: object
- base_info.UserTokenResp:
+ api_struct.UserTokenResp:
properties:
data:
- $ref: '#/definitions/base_info.UserTokenInfo'
+ $ref: '#/definitions/api_struct.UserTokenInfo'
errCode:
type: integer
errMsg:
type: string
type: object
- base_info.WorkMoment:
+ api_struct.WorkMoment:
properties:
atUsers:
items:
- $ref: '#/definitions/base_info.WorkMomentUser'
+ $ref: '#/definitions/api_struct.WorkMomentUser'
type: array
comments:
items:
- $ref: '#/definitions/base_info.Comment'
+ $ref: '#/definitions/api_struct.Comment'
type: array
content:
type: string
@@ -2097,13 +2097,13 @@ definitions:
type: string
likeUsers:
items:
- $ref: '#/definitions/base_info.WorkMomentUser'
+ $ref: '#/definitions/api_struct.WorkMomentUser'
type: array
permission:
type: integer
permissionUsers:
items:
- $ref: '#/definitions/base_info.WorkMomentUser'
+ $ref: '#/definitions/api_struct.WorkMomentUser'
type: array
userID:
type: string
@@ -2112,7 +2112,7 @@ definitions:
workMomentID:
type: string
type: object
- base_info.WorkMomentUser:
+ api_struct.WorkMomentUser:
properties:
userID:
type: string
@@ -2671,22 +2671,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.ForceLogoutReq'
+ $ref: '#/definitions/api_struct.ForceLogoutReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.ForceLogoutResp'
+ $ref: '#/definitions/api_struct.ForceLogoutResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 强制登出
tags:
- 鉴权认证
@@ -2707,7 +2707,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.ParseTokenReq'
+ $ref: '#/definitions/api_struct.ParseTokenReq'
produces:
- application/json
responses:
@@ -2715,19 +2715,19 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.ParseTokenResp'
+ - $ref: '#/definitions/api_struct.ParseTokenResp'
- properties:
Data:
- $ref: '#/definitions/base_info.ExpireTime'
+ $ref: '#/definitions/api_struct.ExpireTime'
type: object
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 解析当前用户token
tags:
- 鉴权认证
@@ -2744,22 +2744,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.UserRegisterReq'
+ $ref: '#/definitions/api_struct.UserRegisterReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.UserRegisterResp'
+ $ref: '#/definitions/api_struct.UserRegisterResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 用户注册
tags:
- 鉴权认证
@@ -2775,22 +2775,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.UserTokenReq'
+ $ref: '#/definitions/api_struct.UserTokenReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.UserTokenResp'
+ $ref: '#/definitions/api_struct.UserTokenResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 用户登录
tags:
- 鉴权认证
@@ -2811,22 +2811,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.AddBlacklistReq'
+ $ref: '#/definitions/api_struct.AddBlacklistReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.AddBlacklistResp'
+ $ref: '#/definitions/api_struct.AddBlacklistResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 添加黑名单
tags:
- 好友相关
@@ -2847,22 +2847,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.AddFriendReq'
+ $ref: '#/definitions/api_struct.AddFriendReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.AddFriendResp'
+ $ref: '#/definitions/api_struct.AddFriendResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 添加好友
tags:
- 好友相关
@@ -2884,22 +2884,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.AddFriendResponseReq'
+ $ref: '#/definitions/api_struct.AddFriendResponseReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.AddFriendResponseResp'
+ $ref: '#/definitions/api_struct.AddFriendResponseResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 同意/拒绝好友请求
tags:
- 好友相关
@@ -2920,22 +2920,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DeleteFriendReq'
+ $ref: '#/definitions/api_struct.DeleteFriendReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DeleteFriendResp'
+ $ref: '#/definitions/api_struct.DeleteFriendResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 删除好友
tags:
- 好友相关
@@ -2956,7 +2956,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetBlackListReq'
+ $ref: '#/definitions/api_struct.GetBlackListReq'
produces:
- application/json
responses:
@@ -2964,7 +2964,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetBlackListResp'
+ - $ref: '#/definitions/api_struct.GetBlackListResp'
- properties:
data:
items:
@@ -2974,11 +2974,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
summary: 获取黑名单列表
tags:
- 好友相关
@@ -2999,7 +2999,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetFriendApplyListReq'
+ $ref: '#/definitions/api_struct.GetFriendApplyListReq'
produces:
- application/json
responses:
@@ -3007,7 +3007,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetFriendApplyListResp'
+ - $ref: '#/definitions/api_struct.GetFriendApplyListResp'
- properties:
data:
items:
@@ -3017,11 +3017,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
summary: 获取好友申请列表
tags:
- 好友相关
@@ -3042,7 +3042,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetFriendListReq'
+ $ref: '#/definitions/api_struct.GetFriendListReq'
produces:
- application/json
responses:
@@ -3050,7 +3050,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetFriendListResp'
+ - $ref: '#/definitions/api_struct.GetFriendListResp'
- properties:
data:
items:
@@ -3060,11 +3060,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户的好友列表
tags:
- 好友相关
@@ -3085,7 +3085,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetSelfApplyListReq'
+ $ref: '#/definitions/api_struct.GetSelfApplyListReq'
produces:
- application/json
responses:
@@ -3093,7 +3093,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetSelfApplyListResp'
+ - $ref: '#/definitions/api_struct.GetSelfApplyListResp'
- properties:
data:
items:
@@ -3103,11 +3103,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取自己的好友申请列表
tags:
- 好友相关
@@ -3128,22 +3128,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.ImportFriendReq'
+ $ref: '#/definitions/api_struct.ImportFriendReq'
produces:
- application/json
responses:
"0":
description: data列表中对象的result-1为添加该用户失败
0为成功
schema:
- $ref: '#/definitions/base_info.ImportFriendResp'
+ $ref: '#/definitions/api_struct.ImportFriendResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 批量加好友
tags:
- 好友相关
@@ -3164,22 +3164,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.IsFriendReq'
+ $ref: '#/definitions/api_struct.IsFriendReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.IsFriendResp'
+ $ref: '#/definitions/api_struct.IsFriendResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 检查用户之间是否为好友
tags:
- 好友相关
@@ -3200,22 +3200,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.RemoveBlackListReq'
+ $ref: '#/definitions/api_struct.RemoveBlackListReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.RemoveBlackListResp'
+ $ref: '#/definitions/api_struct.RemoveBlackListResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 把用户移除黑名单
tags:
- 好友相关
@@ -3236,22 +3236,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.SetFriendRemarkReq'
+ $ref: '#/definitions/api_struct.SetFriendRemarkReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.SetFriendRemarkResp'
+ $ref: '#/definitions/api_struct.SetFriendRemarkResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 设置好友备注
tags:
- 好友相关
@@ -3272,22 +3272,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CancelMuteGroupReq'
+ $ref: '#/definitions/api_struct.CancelMuteGroupReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CancelMuteGroupResp'
+ $ref: '#/definitions/api_struct.CancelMuteGroupResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 取消禁言群组
tags:
- 群组相关
@@ -3308,22 +3308,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CancelMuteGroupMemberReq'
+ $ref: '#/definitions/api_struct.CancelMuteGroupMemberReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CancelMuteGroupMemberResp'
+ $ref: '#/definitions/api_struct.CancelMuteGroupMemberResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 取消禁言群成员
tags:
- 群组相关
@@ -3346,7 +3346,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CreateGroupReq'
+ $ref: '#/definitions/api_struct.CreateGroupReq'
produces:
- application/json
responses:
@@ -3354,7 +3354,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.CreateGroupResp'
+ - $ref: '#/definitions/api_struct.CreateGroupResp'
- properties:
data:
$ref: '#/definitions/server_api_params.GroupInfo'
@@ -3362,11 +3362,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 创建群组
tags:
- 群组相关
@@ -3387,22 +3387,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DismissGroupReq'
+ $ref: '#/definitions/api_struct.DismissGroupReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DismissGroupResp'
+ $ref: '#/definitions/api_struct.DismissGroupResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 解散群组
tags:
- 群组相关
@@ -3423,7 +3423,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetGroupAllMemberReq'
+ $ref: '#/definitions/api_struct.GetGroupAllMemberReq'
produces:
- application/json
responses:
@@ -3431,7 +3431,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetGroupAllMemberResp'
+ - $ref: '#/definitions/api_struct.GetGroupAllMemberResp'
- properties:
data:
items:
@@ -3441,11 +3441,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取全部群成员列表
tags:
- 群组相关
@@ -3466,7 +3466,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetGroupMembersInfoReq'
+ $ref: '#/definitions/api_struct.GetGroupMembersInfoReq'
produces:
- application/json
responses:
@@ -3474,7 +3474,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetGroupMembersInfoResp'
+ - $ref: '#/definitions/api_struct.GetGroupMembersInfoResp'
- properties:
data:
items:
@@ -3484,11 +3484,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取群成员信息
tags:
- 群组相关
@@ -3509,22 +3509,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetGroupInfoReq'
+ $ref: '#/definitions/api_struct.GetGroupInfoReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetGroupInfoResp'
+ $ref: '#/definitions/api_struct.GetGroupInfoResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 通过群ID列表获取群信息
tags:
- 群组相关
@@ -3545,7 +3545,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetJoinedGroupListReq'
+ $ref: '#/definitions/api_struct.GetJoinedGroupListReq'
produces:
- application/json
responses:
@@ -3553,7 +3553,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetJoinedGroupListResp'
+ - $ref: '#/definitions/api_struct.GetJoinedGroupListResp'
- properties:
data:
items:
@@ -3563,11 +3563,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户加入群列表
tags:
- 群组相关
@@ -3588,7 +3588,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetGroupApplicationListReq'
+ $ref: '#/definitions/api_struct.GetGroupApplicationListReq'
produces:
- application/json
responses:
@@ -3596,7 +3596,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetGroupApplicationListResp'
+ - $ref: '#/definitions/api_struct.GetGroupApplicationListResp'
- properties:
data:
items:
@@ -3606,11 +3606,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户收到的加群信息列表
tags:
- 群组相关
@@ -3631,7 +3631,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUserReqGroupApplicationListReq'
+ $ref: '#/definitions/api_struct.GetUserReqGroupApplicationListReq'
produces:
- application/json
responses:
@@ -3639,7 +3639,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetGroupApplicationListResp'
+ - $ref: '#/definitions/api_struct.GetGroupApplicationListResp'
- properties:
data:
items:
@@ -3649,11 +3649,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户加群申请列表
tags:
- 群组相关
@@ -3675,22 +3675,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.ApplicationGroupResponseReq'
+ $ref: '#/definitions/api_struct.ApplicationGroupResponseReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.ApplicationGroupResponseResp'
+ $ref: '#/definitions/api_struct.ApplicationGroupResponseResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 处理加群消息
tags:
- 群组相关
@@ -3711,22 +3711,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.InviteUserToGroupReq'
+ $ref: '#/definitions/api_struct.InviteUserToGroupReq'
produces:
- application/json
responses:
"0":
description: result为结果码, -1为失败, 0为成功
schema:
- $ref: '#/definitions/base_info.InviteUserToGroupResp'
+ $ref: '#/definitions/api_struct.InviteUserToGroupResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 将用户拉入群组
tags:
- 群组相关
@@ -3747,22 +3747,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.JoinGroupReq'
+ $ref: '#/definitions/api_struct.JoinGroupReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.JoinGroupResp'
+ $ref: '#/definitions/api_struct.JoinGroupResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 加入群聊
tags:
- 群组相关
@@ -3783,22 +3783,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.KickGroupMemberReq'
+ $ref: '#/definitions/api_struct.KickGroupMemberReq'
produces:
- application/json
responses:
"0":
description: result为结果码, -1为失败, 0为成功
schema:
- $ref: '#/definitions/base_info.KickGroupMemberResp'
+ $ref: '#/definitions/api_struct.KickGroupMemberResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 把用户踢出群组
tags:
- 群组相关
@@ -3819,22 +3819,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.MuteGroupReq'
+ $ref: '#/definitions/api_struct.MuteGroupReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.MuteGroupResp'
+ $ref: '#/definitions/api_struct.MuteGroupResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.MuteGroupResp'
+ $ref: '#/definitions/api_struct.MuteGroupResp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.MuteGroupResp'
+ $ref: '#/definitions/api_struct.MuteGroupResp'
summary: 禁言群组
tags:
- 群组相关
@@ -3855,22 +3855,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.MuteGroupMemberReq'
+ $ref: '#/definitions/api_struct.MuteGroupMemberReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DismissGroupResp'
+ $ref: '#/definitions/api_struct.DismissGroupResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 禁言群成员
tags:
- 群组相关
@@ -3891,22 +3891,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.QuitGroupReq'
+ $ref: '#/definitions/api_struct.QuitGroupReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.QuitGroupResp'
+ $ref: '#/definitions/api_struct.QuitGroupResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 当前用户退出群聊
tags:
- 群组相关
@@ -3928,22 +3928,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.SetGroupInfoReq'
+ $ref: '#/definitions/api_struct.SetGroupInfoReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.SetGroupInfoResp'
+ $ref: '#/definitions/api_struct.SetGroupInfoResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 设置群信息
tags:
- 群组相关
@@ -3965,22 +3965,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.SetGroupMemberInfoReq'
+ $ref: '#/definitions/api_struct.SetGroupMemberInfoReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.SetGroupMemberInfoResp'
+ $ref: '#/definitions/api_struct.SetGroupMemberInfoResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 修改群成员信息
tags:
- 群组相关
@@ -4001,22 +4001,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.TransferGroupOwnerReq'
+ $ref: '#/definitions/api_struct.TransferGroupOwnerReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.TransferGroupOwnerResp'
+ $ref: '#/definitions/api_struct.TransferGroupOwnerResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 转让群主
tags:
- 群组相关
@@ -4038,7 +4038,7 @@ paths:
required: true
schema:
allOf:
- - $ref: '#/definitions/base_info.ManagementBatchSendMsgReq'
+ - $ref: '#/definitions/api_struct.ManagementBatchSendMsgReq'
- properties:
content:
$ref: '#/definitions/Open_IM_internal_api_manage.TextElem'
@@ -4049,7 +4049,7 @@ paths:
required: true
schema:
allOf:
- - $ref: '#/definitions/base_info.ManagementSendMsgReq'
+ - $ref: '#/definitions/api_struct.ManagementSendMsgReq'
- properties:
content:
$ref: '#/definitions/Open_IM_internal_api_manage.OANotificationElem'
@@ -4060,15 +4060,15 @@ paths:
"0":
description: serverMsgID为服务器消息ID
clientMsgID为客户端消息ID
sendTime为发送消息时间
schema:
- $ref: '#/definitions/base_info.ManagementBatchSendMsgReq'
+ $ref: '#/definitions/api_struct.ManagementBatchSendMsgReq'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.ManagementBatchSendMsgReq'
+ $ref: '#/definitions/api_struct.ManagementBatchSendMsgReq'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.ManagementBatchSendMsgReq'
+ $ref: '#/definitions/api_struct.ManagementBatchSendMsgReq'
summary: 管理员批量发送群聊单聊消息
tags:
- 消息相关
@@ -4089,22 +4089,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CleanUpMsgReq'
+ $ref: '#/definitions/api_struct.CleanUpMsgReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CleanUpMsgResp'
+ $ref: '#/definitions/api_struct.CleanUpMsgResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 清空用户消息
tags:
- 消息相关
@@ -4125,22 +4125,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DelMsgReq'
+ $ref: '#/definitions/api_struct.DelMsgReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DelMsgResp'
+ $ref: '#/definitions/api_struct.DelMsgResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 根据seq列表删除消息
tags:
- 消息相关
@@ -4161,22 +4161,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetAllConversationsReq'
+ $ref: '#/definitions/api_struct.GetAllConversationsReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetAllConversationsResp'
+ $ref: '#/definitions/api_struct.GetAllConversationsResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户所有会话
tags:
- 会话相关
@@ -4197,22 +4197,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetConversationReq'
+ $ref: '#/definitions/api_struct.GetConversationReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetConversationResp'
+ $ref: '#/definitions/api_struct.GetConversationResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 根据会话ID获取会话
tags:
- 会话相关
@@ -4233,22 +4233,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetConversationsReq'
+ $ref: '#/definitions/api_struct.GetConversationsReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetConversationsResp'
+ $ref: '#/definitions/api_struct.GetConversationsResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 根据会话ID列表获取会话
tags:
- 会话相关
@@ -4270,7 +4270,7 @@ paths:
required: true
schema:
allOf:
- - $ref: '#/definitions/base_info.ManagementSendMsgReq'
+ - $ref: '#/definitions/api_struct.ManagementSendMsgReq'
- properties:
content:
$ref: '#/definitions/Open_IM_internal_api_manage.TextElem'
@@ -4281,7 +4281,7 @@ paths:
required: true
schema:
allOf:
- - $ref: '#/definitions/base_info.ManagementSendMsgReq'
+ - $ref: '#/definitions/api_struct.ManagementSendMsgReq'
- properties:
content:
$ref: '#/definitions/Open_IM_internal_api_manage.OANotificationElem'
@@ -4292,7 +4292,7 @@ paths:
required: true
schema:
allOf:
- - $ref: '#/definitions/base_info.ManagementSendMsgReq'
+ - $ref: '#/definitions/api_struct.ManagementSendMsgReq'
- properties:
content:
$ref: '#/definitions/Open_IM_internal_api_manage.RevokeElem'
@@ -4303,15 +4303,15 @@ paths:
"0":
description: serverMsgID为服务器消息ID
clientMsgID为客户端消息ID
sendTime为发送消息时间
schema:
- $ref: '#/definitions/base_info.ManagementSendMsgResp'
+ $ref: '#/definitions/api_struct.ManagementSendMsgResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.ManagementSendMsgResp'
+ $ref: '#/definitions/api_struct.ManagementSendMsgResp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.ManagementSendMsgResp'
+ $ref: '#/definitions/api_struct.ManagementSendMsgResp'
summary: 管理员发送/撤回消息
tags:
- 消息相关
@@ -4332,22 +4332,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CommentOneWorkMomentReq'
+ $ref: '#/definitions/api_struct.CommentOneWorkMomentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CommentOneWorkMomentResp'
+ $ref: '#/definitions/api_struct.CommentOneWorkMomentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 评论一条工作圈
tags:
- 工作圈
@@ -4369,22 +4369,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CreateOneWorkMomentReq'
+ $ref: '#/definitions/api_struct.CreateOneWorkMomentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CreateOneWorkMomentResp'
+ $ref: '#/definitions/api_struct.CreateOneWorkMomentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 创建一条工作圈
tags:
- 工作圈
@@ -4405,22 +4405,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CreateTagReq'
+ $ref: '#/definitions/api_struct.CreateTagReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CreateTagResp'
+ $ref: '#/definitions/api_struct.CreateTagResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 创建标签
tags:
- 标签
@@ -4441,22 +4441,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DeleteCommentReq'
+ $ref: '#/definitions/api_struct.DeleteCommentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DeleteCommentResp'
+ $ref: '#/definitions/api_struct.DeleteCommentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 删除一条评论
tags:
- 工作圈
@@ -4477,22 +4477,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DeleteOneWorkMomentReq'
+ $ref: '#/definitions/api_struct.DeleteOneWorkMomentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DeleteOneWorkMomentResp'
+ $ref: '#/definitions/api_struct.DeleteOneWorkMomentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 删除一条工作圈
tags:
- 工作圈
@@ -4513,22 +4513,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DeleteTagReq'
+ $ref: '#/definitions/api_struct.DeleteTagReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DeleteTagResp'
+ $ref: '#/definitions/api_struct.DeleteTagResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 删除标签
tags:
- 标签
@@ -4549,22 +4549,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetTagSendLogsReq'
+ $ref: '#/definitions/api_struct.GetTagSendLogsReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetTagSendLogsResp'
+ $ref: '#/definitions/api_struct.GetTagSendLogsResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取发送历史记录
tags:
- 标签
@@ -4585,22 +4585,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUserFriendWorkMomentsReq'
+ $ref: '#/definitions/api_struct.GetUserFriendWorkMomentsReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetUserFriendWorkMomentsResp'
+ $ref: '#/definitions/api_struct.GetUserFriendWorkMomentsResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 查询自己大工作圈页面
tags:
- 工作圈
@@ -4621,22 +4621,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUserTagByIDReq'
+ $ref: '#/definitions/api_struct.GetUserTagByIDReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetUserTagByIDResp'
+ $ref: '#/definitions/api_struct.GetUserTagByIDResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取该用户的标签信息
tags:
- 标签
@@ -4657,22 +4657,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUserTagsReq'
+ $ref: '#/definitions/api_struct.GetUserTagsReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetUserTagsResp'
+ $ref: '#/definitions/api_struct.GetUserTagsResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户标签信息
tags:
- 标签
@@ -4693,22 +4693,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUserWorkMomentsReq'
+ $ref: '#/definitions/api_struct.GetUserWorkMomentsReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetUserWorkMomentsResp'
+ $ref: '#/definitions/api_struct.GetUserWorkMomentsResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 查询用户工作圈
tags:
- 工作圈
@@ -4729,22 +4729,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetWorkMomentByIDReq'
+ $ref: '#/definitions/api_struct.GetWorkMomentByIDReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetWorkMomentByIDResp'
+ $ref: '#/definitions/api_struct.GetWorkMomentByIDResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 通过ID获取工作圈
tags:
- 工作圈
@@ -4765,22 +4765,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.LikeOneWorkMomentReq'
+ $ref: '#/definitions/api_struct.LikeOneWorkMomentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.LikeOneWorkMomentResp'
+ $ref: '#/definitions/api_struct.LikeOneWorkMomentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 点赞一条工作圈
tags:
- 工作圈
@@ -4801,22 +4801,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.SendMsg2TagReq'
+ $ref: '#/definitions/api_struct.SendMsg2TagReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.SendMsg2TagResp'
+ $ref: '#/definitions/api_struct.SendMsg2TagResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 发送标签消息
tags:
- 标签
@@ -4837,22 +4837,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.SetTagReq'
+ $ref: '#/definitions/api_struct.SetTagReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.SetTagResp'
+ $ref: '#/definitions/api_struct.SetTagResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 修改标签
tags:
- 标签
@@ -4873,7 +4873,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CreateDepartmentReq'
+ $ref: '#/definitions/api_struct.CreateDepartmentReq'
produces:
- application/json
responses:
@@ -4881,7 +4881,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.CreateDepartmentResp'
+ - $ref: '#/definitions/api_struct.CreateDepartmentResp'
- properties:
data:
$ref: '#/definitions/server_api_params.Department'
@@ -4889,11 +4889,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 创建部门
tags:
- 组织架构相关
@@ -4914,22 +4914,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CreateDepartmentMemberReq'
+ $ref: '#/definitions/api_struct.CreateDepartmentMemberReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CreateDepartmentMemberResp'
+ $ref: '#/definitions/api_struct.CreateDepartmentMemberResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 创建部门用户
tags:
- 组织架构相关
@@ -4950,22 +4950,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.CreateOrganizationUserReq'
+ $ref: '#/definitions/api_struct.CreateOrganizationUserReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.CreateOrganizationUserResp'
+ $ref: '#/definitions/api_struct.CreateOrganizationUserResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 组织架构导入用户
tags:
- 组织架构相关
@@ -4986,22 +4986,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DeleteDepartmentReq'
+ $ref: '#/definitions/api_struct.DeleteDepartmentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DeleteDepartmentResp'
+ $ref: '#/definitions/api_struct.DeleteDepartmentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 删除部门
tags:
- 组织架构相关
@@ -5022,22 +5022,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DeleteOrganizationUserReq'
+ $ref: '#/definitions/api_struct.DeleteOrganizationUserReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DeleteOrganizationUserResp'
+ $ref: '#/definitions/api_struct.DeleteOrganizationUserResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 删除组织架构中某个用户
tags:
- 组织架构相关
@@ -5058,22 +5058,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.DeleteUserInDepartmentReq'
+ $ref: '#/definitions/api_struct.DeleteUserInDepartmentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.DeleteUserInDepartmentResp'
+ $ref: '#/definitions/api_struct.DeleteUserInDepartmentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 删除部门中某个用户
tags:
- 组织架构相关
@@ -5094,7 +5094,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetDepartmentMemberReq'
+ $ref: '#/definitions/api_struct.GetDepartmentMemberReq'
produces:
- application/json
responses:
@@ -5102,7 +5102,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetDepartmentMemberResp'
+ - $ref: '#/definitions/api_struct.GetDepartmentMemberResp'
- properties:
data:
items:
@@ -5112,11 +5112,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取部门中所有成员
tags:
- 组织架构相关
@@ -5137,7 +5137,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetSubDepartmentReq'
+ $ref: '#/definitions/api_struct.GetSubDepartmentReq'
produces:
- application/json
responses:
@@ -5145,7 +5145,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetSubDepartmentResp'
+ - $ref: '#/definitions/api_struct.GetSubDepartmentResp'
- properties:
data:
items:
@@ -5155,11 +5155,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取子部门列表
tags:
- 组织架构相关
@@ -5180,7 +5180,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUserInDepartmentReq'
+ $ref: '#/definitions/api_struct.GetUserInDepartmentReq'
produces:
- application/json
responses:
@@ -5188,7 +5188,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetUserInDepartmentResp'
+ - $ref: '#/definitions/api_struct.GetUserInDepartmentResp'
- properties:
data:
$ref: '#/definitions/server_api_params.UserInDepartment'
@@ -5196,11 +5196,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取部门中的所有用户
tags:
- 组织架构相关
@@ -5221,22 +5221,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.UpdateDepartmentReq'
+ $ref: '#/definitions/api_struct.UpdateDepartmentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.UpdateDepartmentResp'
+ $ref: '#/definitions/api_struct.UpdateDepartmentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 更新部门信息
tags:
- 组织架构相关
@@ -5257,22 +5257,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.UpdateOrganizationUserReq'
+ $ref: '#/definitions/api_struct.UpdateOrganizationUserReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.UpdateOrganizationUserResp'
+ $ref: '#/definitions/api_struct.UpdateOrganizationUserResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 更新组织架构中的用户
tags:
- 组织架构相关
@@ -5293,22 +5293,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.UpdateUserInDepartmentReq'
+ $ref: '#/definitions/api_struct.UpdateUserInDepartmentReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.UpdateUserInDepartmentResp'
+ $ref: '#/definitions/api_struct.UpdateUserInDepartmentResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 更新部门中某个用户
tags:
- 组织架构相关
@@ -5345,15 +5345,15 @@ paths:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.MinioUploadFileResp'
+ $ref: '#/definitions/api_struct.MinioUploadFileResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: minio上传文件(web api)
tags:
- 第三方服务相关
@@ -5374,22 +5374,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.AccountCheckReq'
+ $ref: '#/definitions/api_struct.AccountCheckReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.AccountCheckResp'
+ $ref: '#/definitions/api_struct.AccountCheckResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 检查列表账户注册状态,并且返回结果
tags:
- 用户相关
@@ -5410,22 +5410,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetAllUsersUidReq'
+ $ref: '#/definitions/api_struct.GetAllUsersUidReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetAllUsersUidResp'
+ $ref: '#/definitions/api_struct.GetAllUsersUidResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取所有用户uid列表
tags:
- 用户相关
@@ -5446,7 +5446,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetSelfUserInfoReq'
+ $ref: '#/definitions/api_struct.GetSelfUserInfoReq'
produces:
- application/json
responses:
@@ -5454,7 +5454,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetSelfUserInfoResp'
+ - $ref: '#/definitions/api_struct.GetSelfUserInfoResp'
- properties:
data:
$ref: '#/definitions/server_api_params.UserInfo'
@@ -5462,11 +5462,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取自己的信息
tags:
- 用户相关
@@ -5487,7 +5487,7 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUsersInfoReq'
+ $ref: '#/definitions/api_struct.GetUsersInfoReq'
produces:
- application/json
responses:
@@ -5495,7 +5495,7 @@ paths:
description: ""
schema:
allOf:
- - $ref: '#/definitions/base_info.GetUsersInfoResp'
+ - $ref: '#/definitions/api_struct.GetUsersInfoResp'
- properties:
Data:
items:
@@ -5505,11 +5505,11 @@ paths:
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户信息
tags:
- 用户相关
@@ -5530,22 +5530,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.GetUsersOnlineStatusReq'
+ $ref: '#/definitions/api_struct.GetUsersOnlineStatusReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.GetUsersOnlineStatusResp'
+ $ref: '#/definitions/api_struct.GetUsersOnlineStatusResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 获取用户在线状态
tags:
- 用户相关
@@ -5566,22 +5566,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.SetGlobalRecvMessageOptReq'
+ $ref: '#/definitions/api_struct.SetGlobalRecvMessageOptReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.SetGlobalRecvMessageOptResp'
+ $ref: '#/definitions/api_struct.SetGlobalRecvMessageOptResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 设置全局免打扰
tags:
- 用户相关
@@ -5602,22 +5602,22 @@ paths:
name: req
required: true
schema:
- $ref: '#/definitions/base_info.UpdateSelfUserInfoReq'
+ $ref: '#/definitions/api_struct.UpdateSelfUserInfoReq'
produces:
- application/json
responses:
"0":
description: ""
schema:
- $ref: '#/definitions/base_info.UpdateUserInfoResp'
+ $ref: '#/definitions/api_struct.UpdateUserInfoResp'
"400":
description: errCode为400 一般为参数输入错误, token未带上等
schema:
- $ref: '#/definitions/base_info.Swagger400Resp'
+ $ref: '#/definitions/api_struct.Swagger400Resp'
"500":
description: errCode为500 一般为服务器内部错误
schema:
- $ref: '#/definitions/base_info.Swagger500Resp'
+ $ref: '#/definitions/api_struct.Swagger500Resp'
summary: 修改用户信息
tags:
- 用户相关
diff --git a/internal/cms_api/middleware/cors.go b/internal/cms_api/middleware/cors.go
deleted file mode 100644
index 139a001af..000000000
--- a/internal/cms_api/middleware/cors.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package middleware
-
-import (
- "github.com/gin-gonic/gin"
- "net/http"
-)
-
-func CorsHandler() gin.HandlerFunc {
- return func(context *gin.Context) {
- context.Writer.Header().Set("Access-Control-Allow-Origin", "*")
- context.Header("Access-Control-Allow-Methods", "*")
- context.Header("Access-Control-Allow-Headers", "*")
- context.Header("Access-Control-Expose-Headers", "Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma,FooBar") // 跨域关键设置 让浏览器可以解析
- context.Header("Access-Control-Max-Age", "172800") // 缓存请求信息 单位为秒
- context.Header("Access-Control-Allow-Credentials", "false") // 跨域请求是否需要带cookie信息 默认设置为true
- context.Header("content-type", "application/json") // 设置返回格式是json
- //Release all option pre-requests
- if context.Request.Method == http.MethodOptions {
- context.JSON(http.StatusOK, "Options Request!")
- }
- context.Next()
- }
-}
diff --git a/internal/cms_api/middleware/jwt_auth.go b/internal/cms_api/middleware/jwt_auth.go
deleted file mode 100644
index e546c0de1..000000000
--- a/internal/cms_api/middleware/jwt_auth.go
+++ /dev/null
@@ -1,32 +0,0 @@
-package middleware
-
-import (
- "Open_IM/pkg/common/config"
- "Open_IM/pkg/common/log"
- "Open_IM/pkg/common/token_verify"
- "Open_IM/pkg/utils"
- "net/http"
-
- "github.com/gin-gonic/gin"
-)
-
-func JWTAuth() gin.HandlerFunc {
- return func(c *gin.Context) {
- ok, userID, errInfo := token_verify.GetUserIDFromToken(c.Request.Header.Get("token"), "")
- // log.NewInfo("0", utils.GetSelfFuncName(), "userID: ", userID)
- c.Set("userID", userID)
- if !ok {
- log.NewError("", "GetUserIDFromToken false ", c.Request.Header.Get("token"))
- c.Abort()
- c.JSON(http.StatusOK, gin.H{"errCode": 400, "errMsg": errInfo})
- return
- } else {
- if !utils.IsContain(userID, config.Config.Manager.AppManagerUid) {
- c.Abort()
- c.JSON(http.StatusOK, gin.H{"errCode": 400, "errMsg": "user is not admin"})
- return
- }
- log.NewInfo("0", utils.GetSelfFuncName(), "failed: ", errInfo)
- }
- }
-}
diff --git a/internal/cms_api/router.go b/internal/cms_api/router.go
index 7fbb8db1e..7b2695a9c 100644
--- a/internal/cms_api/router.go
+++ b/internal/cms_api/router.go
@@ -48,11 +48,6 @@ func NewGinRouter() *gin.Engine {
userRouterGroup := r2.Group("/user")
{
userRouterGroup.POST("/get_user_id_by_email_phone", user.GetUserIDByEmailAndPhoneNumber)
-
- userRouterGroup.POST("/add_user", user.AddUser)
- userRouterGroup.POST("/unblock_user", user.UnblockUser)
- userRouterGroup.POST("/block_user", user.BlockUser)
- userRouterGroup.POST("/get_block_users", user.GetBlockUsers)
}
messageCMSRouterGroup := r2.Group("/message")
{
diff --git a/internal/cms_api/user/user.go b/internal/cms_api/user/user.go
index 7f103ba57..507f924fb 100644
--- a/internal/cms_api/user/user.go
+++ b/internal/cms_api/user/user.go
@@ -2,6 +2,7 @@ package user
import (
"Open_IM/pkg/cms_api_struct"
+ "Open_IM/pkg/cms_struct"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/log"
"Open_IM/pkg/getcdv3"
@@ -16,150 +17,6 @@ import (
"github.com/gin-gonic/gin"
)
-func AddUser(c *gin.Context) {
- var (
- req cms_struct.AddUserRequest
- reqPb pb.AddUserReq
- )
- if err := c.BindJSON(&req); err != nil {
- log.NewError(reqPb.OperationID, utils.GetSelfFuncName(), "BindJSON failed ", err.Error())
- c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
- return
- }
- reqPb.OperationID = utils.OperationIDGenerator()
- log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "req: ", req)
- utils.CopyStructFields(&reqPb, &req)
- etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName, reqPb.OperationID)
- if etcdConn == nil {
- errMsg := reqPb.OperationID + "getcdv3.GetConn == nil"
- log.NewError(reqPb.OperationID, errMsg)
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": errMsg})
- return
- }
- client := pb.NewUserClient(etcdConn)
- respPb, err := client.AddUser(context.Background(), &reqPb)
- if err != nil {
- log.NewError(req.OperationID, utils.GetSelfFuncName(), err.Error(), reqPb.String())
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": err.Error()})
- return
- }
- c.JSON(http.StatusOK, gin.H{"errCode": respPb.CommonResp.ErrCode, "errMsg": respPb.CommonResp.ErrMsg})
-}
-
-func BlockUser(c *gin.Context) {
- var (
- req cms_struct.BlockUserRequest
- reqPb pb.BlockUserReq
- )
- if err := c.BindJSON(&req); err != nil {
- log.NewError(req.OperationID, utils.GetSelfFuncName(), err.Error())
- c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
- return
- }
- reqPb.OperationID = utils.OperationIDGenerator()
- log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "req: ", req)
- utils.CopyStructFields(&reqPb, &req)
- etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName, reqPb.OperationID)
- if etcdConn == nil {
- errMsg := reqPb.OperationID + "getcdv3.GetDefaultConn == nil"
- log.NewError(reqPb.OperationID, errMsg)
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": errMsg})
- return
- }
- client := pb.NewUserClient(etcdConn)
- respPb, err := client.BlockUser(context.Background(), &reqPb)
- if err != nil {
- log.NewError(req.OperationID, utils.GetSelfFuncName(), err.Error(), reqPb.String())
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": err.Error()})
- return
- }
- c.JSON(http.StatusOK, gin.H{"errCode": respPb.CommonResp.ErrCode, "errMsg": respPb.CommonResp.ErrMsg})
-}
-
-func UnblockUser(c *gin.Context) {
- var (
- req cms_struct.UnblockUserRequest
- resp cms_struct.UnBlockUserResponse
- reqPb pb.UnBlockUserReq
- )
- if err := c.BindJSON(&req); err != nil {
- log.NewError(req.OperationID, "BindJSON failed ", err.Error())
- c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
- return
- }
- reqPb.OperationID = utils.OperationIDGenerator()
- log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "req: ", req)
- utils.CopyStructFields(&reqPb, &req)
- etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName, reqPb.OperationID)
- if etcdConn == nil {
- errMsg := reqPb.OperationID + "getcdv3.GetDefaultConn == nil"
- log.NewError(reqPb.OperationID, errMsg)
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": errMsg})
- return
- }
- client := pb.NewUserClient(etcdConn)
- respPb, err := client.UnBlockUser(context.Background(), &reqPb)
- if err != nil {
- log.NewError(reqPb.OperationID, utils.GetSelfFuncName(), err.Error(), reqPb.String())
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": err.Error()})
- return
- }
- log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "resp: ", resp)
- c.JSON(http.StatusOK, gin.H{"errCode": respPb.CommonResp.ErrCode, "errMsg": respPb.CommonResp.ErrMsg})
-}
-
-func GetBlockUsers(c *gin.Context) {
- var (
- req cms_struct.GetBlockUsersRequest
- resp cms_struct.GetBlockUsersResponse
- reqPb pb.GetBlockUsersReq
- respPb *pb.GetBlockUsersResp
- )
- reqPb.Pagination = &commonPb.RequestPagination{}
- if err := c.BindJSON(&req); err != nil {
- log.NewError(reqPb.OperationID, utils.GetSelfFuncName(), "ShouldBindQuery failed ", err.Error())
- c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
- return
- }
- reqPb.OperationID = utils.OperationIDGenerator()
- log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "req: ", req)
- utils.CopyStructFields(&reqPb.Pagination, &req)
- log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "blockUsers", reqPb.Pagination, req)
- etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName, reqPb.OperationID)
- if etcdConn == nil {
- errMsg := reqPb.OperationID + "getcdv3.GetDefaultConn == nil"
- log.NewError(reqPb.OperationID, errMsg)
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": errMsg})
- return
- }
- client := pb.NewUserClient(etcdConn)
- respPb, err := client.GetBlockUsers(context.Background(), &reqPb)
- if err != nil {
- log.NewError(reqPb.OperationID, utils.GetSelfFuncName(), "GetBlockUsers rpc", err.Error())
- c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": err.Error()})
- return
- }
- for _, v := range respPb.BlockUsers {
- resp.BlockUsers = append(resp.BlockUsers, cms_struct.BlockUser{
- UserResponse: cms_struct.UserResponse{
- UserID: v.UserInfo.UserID,
- FaceURL: v.UserInfo.FaceURL,
- Nickname: v.UserInfo.Nickname,
- PhoneNumber: v.UserInfo.PhoneNumber,
- Email: v.UserInfo.Email,
- Gender: int(v.UserInfo.Gender),
- },
- BeginDisableTime: v.BeginDisableTime,
- EndDisableTime: v.EndDisableTime,
- })
- }
- resp.ShowNumber = int(respPb.Pagination.ShowNumber)
- resp.CurrentPage = int(respPb.Pagination.CurrentPage)
- resp.UserNums = respPb.UserNums
- log.NewInfo(reqPb.OperationID, utils.GetSelfFuncName(), "req: ", resp)
- c.JSON(http.StatusOK, gin.H{"errCode": respPb.CommonResp.ErrCode, "errMsg": respPb.CommonResp.ErrMsg, "data": resp})
-}
-
func GetUserIDByEmailAndPhoneNumber(c *gin.Context) {
var (
req cms_struct.GetUserIDByEmailAndPhoneNumberRequest
diff --git a/pkg/common/middleware/gin.go b/pkg/common/middleware/gin.go
index 8155086cd..19baaaa78 100644
--- a/pkg/common/middleware/gin.go
+++ b/pkg/common/middleware/gin.go
@@ -1,6 +1,10 @@
package middleware
import (
+ "Open_IM/pkg/common/config"
+ "Open_IM/pkg/common/log"
+ "Open_IM/pkg/common/token_verify"
+ "Open_IM/pkg/utils"
"bytes"
"encoding/json"
"github.com/gin-gonic/gin"
@@ -8,6 +12,44 @@ import (
"net/http"
)
+func JWTAuth() gin.HandlerFunc {
+ return func(c *gin.Context) {
+ ok, userID, errInfo := token_verify.GetUserIDFromToken(c.Request.Header.Get("token"), "")
+ // log.NewInfo("0", utils.GetSelfFuncName(), "userID: ", userID)
+ c.Set("userID", userID)
+ if !ok {
+ log.NewError("", "GetUserIDFromToken false ", c.Request.Header.Get("token"))
+ c.Abort()
+ c.JSON(http.StatusOK, gin.H{"errCode": 400, "errMsg": errInfo})
+ return
+ } else {
+ if !utils.IsContain(userID, config.Config.Manager.AppManagerUid) {
+ c.Abort()
+ c.JSON(http.StatusOK, gin.H{"errCode": 400, "errMsg": "user is not admin"})
+ return
+ }
+ log.NewInfo("0", utils.GetSelfFuncName(), "failed: ", errInfo)
+ }
+ }
+}
+
+func CorsHandler() gin.HandlerFunc {
+ return func(context *gin.Context) {
+ context.Writer.Header().Set("Access-Control-Allow-Origin", "*")
+ context.Header("Access-Control-Allow-Methods", "*")
+ context.Header("Access-Control-Allow-Headers", "*")
+ context.Header("Access-Control-Expose-Headers", "Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma,FooBar") // 跨域关键设置 让浏览器可以解析
+ context.Header("Access-Control-Max-Age", "172800") // 缓存请求信息 单位为秒
+ context.Header("Access-Control-Allow-Credentials", "false") // 跨域请求是否需要带cookie信息 默认设置为true
+ context.Header("content-type", "application/json") // 设置返回格式是json
+ //Release all option pre-requests
+ if context.Request.Method == http.MethodOptions {
+ context.JSON(http.StatusOK, "Options Request!")
+ }
+ context.Next()
+ }
+}
+
func GinParseOperationID(c *gin.Context) {
if c.Request.Method == http.MethodPost {
operationID := c.Request.Header.Get("operationID")
diff --git a/pkg/utils/cors_middleware.go b/pkg/utils/cors_middleware.go
deleted file mode 100644
index 6809d786d..000000000
--- a/pkg/utils/cors_middleware.go
+++ /dev/null
@@ -1,24 +0,0 @@
-package utils
-
-import (
- "net/http"
-
- "github.com/gin-gonic/gin"
-)
-
-func CorsHandler() gin.HandlerFunc {
- return func(context *gin.Context) {
- context.Writer.Header().Set("Access-Control-Allow-Origin", "*")
- context.Header("Access-Control-Allow-Methods", "*")
- context.Header("Access-Control-Allow-Headers", "*")
- context.Header("Access-Control-Expose-Headers", "Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma,FooBar") // 跨域关键设置 让浏览器可以解析
- context.Header("Access-Control-Max-Age", "172800") // 缓存请求信息 单位为秒
- context.Header("Access-Control-Allow-Credentials", "false") // 跨域请求是否需要带cookie信息 默认设置为true
- context.Header("content-type", "application/json") // 设置返回格式是json
- //Release all option pre-requests
- if context.Request.Method == http.MethodOptions {
- context.JSON(http.StatusOK, "Options Request!")
- }
- context.Next()
- }
-}
diff --git a/pkg/utils/cors_middleware_test.go b/pkg/utils/cors_middleware_test.go
deleted file mode 100644
index 0abfe3f3a..000000000
--- a/pkg/utils/cors_middleware_test.go
+++ /dev/null
@@ -1,67 +0,0 @@
-package utils
-
-import (
- "net/http"
- "net/http/httptest"
- "testing"
-
- "github.com/gin-gonic/gin"
- "github.com/stretchr/testify/assert"
-)
-
-func init() {
- gin.SetMode(gin.TestMode)
-}
-
-func performRequest(r http.Handler, method, origin string) *httptest.ResponseRecorder {
- return performRequestWithHeaders(r, method, origin, http.Header{})
-}
-
-func performRequestWithHeaders(r http.Handler, method, origin string, header http.Header) *httptest.ResponseRecorder {
- req, _ := http.NewRequest(method, "/", nil)
- // From go/net/http/request.go:
- // For incoming requests, the Host header is promoted to the
- // Request.Host field and removed from the Header map.
- req.Host = header.Get("Host")
- header.Del("Host")
- if len(origin) > 0 {
- header.Set("Origin", origin)
- }
- req.Header = header
- w := httptest.NewRecorder()
- r.ServeHTTP(w, req)
- return w
-}
-
-func newTestRouter() *gin.Engine {
- router := gin.New()
- router.Use(CorsHandler())
- router.GET("/", func(c *gin.Context) {
- c.String(http.StatusOK, "get")
- })
- router.POST("/", func(c *gin.Context) {
- c.String(http.StatusOK, "post")
- })
- router.PATCH("/", func(c *gin.Context) {
- c.String(http.StatusOK, "patch")
- })
-
- return router
-}
-
-func Test_CorsHandler(t *testing.T) {
- router := newTestRouter()
- // no CORS request, origin == ""
- w := performRequest(router, "GET", "")
- assert.Equal(t, "get", w.Body.String())
- assert.Equal(t, w.Header().Get("Access-Control-Allow-Origin"), "*")
- assert.Equal(t, w.Header().Get("Access-Control-Allow-Methods"), "*")
- assert.Equal(t, w.Header().Get("Access-Control-Allow-Headers"), "*")
- assert.Equal(t, w.Header().Get("Access-Control-Expose-Headers"), "Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma,FooBar")
- assert.Equal(t, w.Header().Get("Access-Control-Max-Age"), "172800")
- assert.Equal(t, w.Header().Get("Access-Control-Allow-Credentials"), "false")
- assert.Equal(t, w.Header().Get("content-type"), "application/json")
-
- w = performRequest(router, "OPTIONS", "")
- assert.Equal(t, w.Body.String(), "\"Options Request!\"")
-}