mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Merge remote-tracking branch 'origin/v2.3.0release' into v2.3.0release
This commit is contained in:
commit
de752c69f4
@ -155,13 +155,6 @@ const docTemplate = `{
|
|||||||
"summary": "用户注册",
|
"summary": "用户注册",
|
||||||
"operationId": "UserRegister",
|
"operationId": "UserRegister",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "im token",
|
|
||||||
"name": "token",
|
|
||||||
"in": "header",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID \u003cbr\u003e ex为拓展字段 \u003cbr\u003e gender为性别, 0为女, 1为男",
|
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID \u003cbr\u003e ex为拓展字段 \u003cbr\u003e gender为性别, 0为女, 1为男",
|
||||||
"name": "req",
|
"name": "req",
|
||||||
@ -209,13 +202,6 @@ const docTemplate = `{
|
|||||||
"summary": "用户登录",
|
"summary": "用户登录",
|
||||||
"operationId": "UserToken",
|
"operationId": "UserToken",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "im token",
|
|
||||||
"name": "token",
|
|
||||||
"in": "header",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID",
|
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID",
|
||||||
"name": "req",
|
"name": "req",
|
||||||
@ -4596,7 +4582,6 @@ const docTemplate = `{
|
|||||||
"Open_IM_internal_api_manage.OANotificationElem": {
|
"Open_IM_internal_api_manage.OANotificationElem": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"notificationFaceURL",
|
|
||||||
"notificationName",
|
"notificationName",
|
||||||
"notificationType",
|
"notificationType",
|
||||||
"text"
|
"text"
|
||||||
@ -5950,9 +5935,15 @@ const docTemplate = `{
|
|||||||
"operationID"
|
"operationID"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"count": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"groupID": {
|
"groupID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"offset": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"operationID": {
|
"operationID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@ -6521,7 +6512,11 @@ const docTemplate = `{
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"roleLevel": {
|
"roleLevel": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"userID": {
|
"userID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@ -6652,6 +6647,12 @@ const docTemplate = `{
|
|||||||
"groupID": {
|
"groupID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"inviterUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"joinSource": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"operationID": {
|
"operationID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -6751,6 +6752,9 @@ const docTemplate = `{
|
|||||||
"sessionType"
|
"sessionType"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"businessOperationID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"contentType": {
|
"contentType": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -6760,6 +6764,9 @@ const docTemplate = `{
|
|||||||
"isOnlineOnly": {
|
"isOnlineOnly": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"notOfflinePush": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"offlinePushInfo": {
|
"offlinePushInfo": {
|
||||||
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
||||||
},
|
},
|
||||||
@ -6798,6 +6805,9 @@ const docTemplate = `{
|
|||||||
"sessionType"
|
"sessionType"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"businessOperationID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"contentType": {
|
"contentType": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -6807,6 +6817,9 @@ const docTemplate = `{
|
|||||||
"isOnlineOnly": {
|
"isOnlineOnly": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"notOfflinePush": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"offlinePushInfo": {
|
"offlinePushInfo": {
|
||||||
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
||||||
},
|
},
|
||||||
@ -7063,7 +7076,6 @@ const docTemplate = `{
|
|||||||
"required": [
|
"required": [
|
||||||
"fromUserID",
|
"fromUserID",
|
||||||
"operationID",
|
"operationID",
|
||||||
"remark",
|
|
||||||
"toUserID"
|
"toUserID"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -7129,6 +7141,9 @@ const docTemplate = `{
|
|||||||
"operationID"
|
"operationID"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"applyMemberFriend": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"ex": {
|
"ex": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -7144,6 +7159,9 @@ const docTemplate = `{
|
|||||||
"introduction": {
|
"introduction": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"lookMemberInfo": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"needVerification": {
|
"needVerification": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -7747,7 +7765,6 @@ const docTemplate = `{
|
|||||||
"internal_api_manage.OANotificationElem": {
|
"internal_api_manage.OANotificationElem": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"notificationFaceURL",
|
|
||||||
"notificationName",
|
"notificationName",
|
||||||
"notificationType",
|
"notificationType",
|
||||||
"text"
|
"text"
|
||||||
@ -8231,6 +8248,9 @@ const docTemplate = `{
|
|||||||
"server_api_params.GroupInfo": {
|
"server_api_params.GroupInfo": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"applyMemberFriend": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"createTime": {
|
"createTime": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -8255,6 +8275,9 @@ const docTemplate = `{
|
|||||||
"introduction": {
|
"introduction": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"lookMemberInfo": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"memberCount": {
|
"memberCount": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -8264,6 +8287,12 @@ const docTemplate = `{
|
|||||||
"notification": {
|
"notification": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"notificationUpdateTime": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"notificationUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"ownerUserID": {
|
"ownerUserID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -8287,6 +8316,9 @@ const docTemplate = `{
|
|||||||
"groupID": {
|
"groupID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"inviterUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"joinSource": {
|
"joinSource": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -8331,6 +8363,12 @@ const docTemplate = `{
|
|||||||
"handleUserID": {
|
"handleUserID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"inviterUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"joinSource": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"reqMsg": {
|
"reqMsg": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -147,13 +147,6 @@
|
|||||||
"summary": "用户注册",
|
"summary": "用户注册",
|
||||||
"operationId": "UserRegister",
|
"operationId": "UserRegister",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "im token",
|
|
||||||
"name": "token",
|
|
||||||
"in": "header",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID \u003cbr\u003e ex为拓展字段 \u003cbr\u003e gender为性别, 0为女, 1为男",
|
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID \u003cbr\u003e ex为拓展字段 \u003cbr\u003e gender为性别, 0为女, 1为男",
|
||||||
"name": "req",
|
"name": "req",
|
||||||
@ -201,13 +194,6 @@
|
|||||||
"summary": "用户登录",
|
"summary": "用户登录",
|
||||||
"operationId": "UserToken",
|
"operationId": "UserToken",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "im token",
|
|
||||||
"name": "token",
|
|
||||||
"in": "header",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID",
|
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID",
|
||||||
"name": "req",
|
"name": "req",
|
||||||
@ -4588,7 +4574,6 @@
|
|||||||
"Open_IM_internal_api_manage.OANotificationElem": {
|
"Open_IM_internal_api_manage.OANotificationElem": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"notificationFaceURL",
|
|
||||||
"notificationName",
|
"notificationName",
|
||||||
"notificationType",
|
"notificationType",
|
||||||
"text"
|
"text"
|
||||||
@ -5942,9 +5927,15 @@
|
|||||||
"operationID"
|
"operationID"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"count": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"groupID": {
|
"groupID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"offset": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"operationID": {
|
"operationID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@ -6513,7 +6504,11 @@
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"roleLevel": {
|
"roleLevel": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"userID": {
|
"userID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@ -6644,6 +6639,12 @@
|
|||||||
"groupID": {
|
"groupID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"inviterUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"joinSource": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"operationID": {
|
"operationID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -6743,6 +6744,9 @@
|
|||||||
"sessionType"
|
"sessionType"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"businessOperationID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"contentType": {
|
"contentType": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -6752,6 +6756,9 @@
|
|||||||
"isOnlineOnly": {
|
"isOnlineOnly": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"notOfflinePush": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"offlinePushInfo": {
|
"offlinePushInfo": {
|
||||||
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
||||||
},
|
},
|
||||||
@ -6790,6 +6797,9 @@
|
|||||||
"sessionType"
|
"sessionType"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"businessOperationID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"contentType": {
|
"contentType": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -6799,6 +6809,9 @@
|
|||||||
"isOnlineOnly": {
|
"isOnlineOnly": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"notOfflinePush": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"offlinePushInfo": {
|
"offlinePushInfo": {
|
||||||
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
|
||||||
},
|
},
|
||||||
@ -7055,7 +7068,6 @@
|
|||||||
"required": [
|
"required": [
|
||||||
"fromUserID",
|
"fromUserID",
|
||||||
"operationID",
|
"operationID",
|
||||||
"remark",
|
|
||||||
"toUserID"
|
"toUserID"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -7121,6 +7133,9 @@
|
|||||||
"operationID"
|
"operationID"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"applyMemberFriend": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"ex": {
|
"ex": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -7136,6 +7151,9 @@
|
|||||||
"introduction": {
|
"introduction": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"lookMemberInfo": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"needVerification": {
|
"needVerification": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -7739,7 +7757,6 @@
|
|||||||
"internal_api_manage.OANotificationElem": {
|
"internal_api_manage.OANotificationElem": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"notificationFaceURL",
|
|
||||||
"notificationName",
|
"notificationName",
|
||||||
"notificationType",
|
"notificationType",
|
||||||
"text"
|
"text"
|
||||||
@ -8223,6 +8240,9 @@
|
|||||||
"server_api_params.GroupInfo": {
|
"server_api_params.GroupInfo": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"applyMemberFriend": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"createTime": {
|
"createTime": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -8247,6 +8267,9 @@
|
|||||||
"introduction": {
|
"introduction": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"lookMemberInfo": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"memberCount": {
|
"memberCount": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -8256,6 +8279,12 @@
|
|||||||
"notification": {
|
"notification": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"notificationUpdateTime": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"notificationUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"ownerUserID": {
|
"ownerUserID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -8279,6 +8308,9 @@
|
|||||||
"groupID": {
|
"groupID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"inviterUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"joinSource": {
|
"joinSource": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
@ -8323,6 +8355,12 @@
|
|||||||
"handleUserID": {
|
"handleUserID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"inviterUserID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"joinSource": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"reqMsg": {
|
"reqMsg": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -38,7 +38,6 @@ definitions:
|
|||||||
videoElem:
|
videoElem:
|
||||||
$ref: '#/definitions/Open_IM_internal_api_manage.VideoElem'
|
$ref: '#/definitions/Open_IM_internal_api_manage.VideoElem'
|
||||||
required:
|
required:
|
||||||
- notificationFaceURL
|
|
||||||
- notificationName
|
- notificationName
|
||||||
- notificationType
|
- notificationType
|
||||||
- text
|
- text
|
||||||
@ -910,8 +909,12 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
base_info.GetGroupAllMemberReq:
|
base_info.GetGroupAllMemberReq:
|
||||||
properties:
|
properties:
|
||||||
|
count:
|
||||||
|
type: integer
|
||||||
groupID:
|
groupID:
|
||||||
type: string
|
type: string
|
||||||
|
offset:
|
||||||
|
type: integer
|
||||||
operationID:
|
operationID:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
@ -1285,6 +1288,9 @@ definitions:
|
|||||||
base_info.GroupAddMemberInfo:
|
base_info.GroupAddMemberInfo:
|
||||||
properties:
|
properties:
|
||||||
roleLevel:
|
roleLevel:
|
||||||
|
enum:
|
||||||
|
- 1
|
||||||
|
- 3
|
||||||
type: integer
|
type: integer
|
||||||
userID:
|
userID:
|
||||||
type: string
|
type: string
|
||||||
@ -1372,6 +1378,10 @@ definitions:
|
|||||||
properties:
|
properties:
|
||||||
groupID:
|
groupID:
|
||||||
type: string
|
type: string
|
||||||
|
inviterUserID:
|
||||||
|
type: string
|
||||||
|
joinSource:
|
||||||
|
type: integer
|
||||||
operationID:
|
operationID:
|
||||||
type: string
|
type: string
|
||||||
reqMessage:
|
reqMessage:
|
||||||
@ -1436,12 +1446,16 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
base_info.ManagementBatchSendMsgReq:
|
base_info.ManagementBatchSendMsgReq:
|
||||||
properties:
|
properties:
|
||||||
|
businessOperationID:
|
||||||
|
type: string
|
||||||
contentType:
|
contentType:
|
||||||
type: integer
|
type: integer
|
||||||
groupID:
|
groupID:
|
||||||
type: string
|
type: string
|
||||||
isOnlineOnly:
|
isOnlineOnly:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
notOfflinePush:
|
||||||
|
type: boolean
|
||||||
offlinePushInfo:
|
offlinePushInfo:
|
||||||
$ref: '#/definitions/server_api_params.OfflinePushInfo'
|
$ref: '#/definitions/server_api_params.OfflinePushInfo'
|
||||||
operationID:
|
operationID:
|
||||||
@ -1468,12 +1482,16 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
base_info.ManagementSendMsgReq:
|
base_info.ManagementSendMsgReq:
|
||||||
properties:
|
properties:
|
||||||
|
businessOperationID:
|
||||||
|
type: string
|
||||||
contentType:
|
contentType:
|
||||||
type: integer
|
type: integer
|
||||||
groupID:
|
groupID:
|
||||||
type: string
|
type: string
|
||||||
isOnlineOnly:
|
isOnlineOnly:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
notOfflinePush:
|
||||||
|
type: boolean
|
||||||
offlinePushInfo:
|
offlinePushInfo:
|
||||||
$ref: '#/definitions/server_api_params.OfflinePushInfo'
|
$ref: '#/definitions/server_api_params.OfflinePushInfo'
|
||||||
operationID:
|
operationID:
|
||||||
@ -1657,7 +1675,6 @@ definitions:
|
|||||||
required:
|
required:
|
||||||
- fromUserID
|
- fromUserID
|
||||||
- operationID
|
- operationID
|
||||||
- remark
|
|
||||||
- toUserID
|
- toUserID
|
||||||
type: object
|
type: object
|
||||||
base_info.SetFriendRemarkResp:
|
base_info.SetFriendRemarkResp:
|
||||||
@ -1689,6 +1706,8 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
base_info.SetGroupInfoReq:
|
base_info.SetGroupInfoReq:
|
||||||
properties:
|
properties:
|
||||||
|
applyMemberFriend:
|
||||||
|
type: integer
|
||||||
ex:
|
ex:
|
||||||
type: string
|
type: string
|
||||||
faceURL:
|
faceURL:
|
||||||
@ -1699,6 +1718,8 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
introduction:
|
introduction:
|
||||||
type: string
|
type: string
|
||||||
|
lookMemberInfo:
|
||||||
|
type: integer
|
||||||
needVerification:
|
needVerification:
|
||||||
type: integer
|
type: integer
|
||||||
notification:
|
notification:
|
||||||
@ -2134,7 +2155,6 @@ definitions:
|
|||||||
videoElem:
|
videoElem:
|
||||||
$ref: '#/definitions/internal_api_manage.VideoElem'
|
$ref: '#/definitions/internal_api_manage.VideoElem'
|
||||||
required:
|
required:
|
||||||
- notificationFaceURL
|
|
||||||
- notificationName
|
- notificationName
|
||||||
- notificationType
|
- notificationType
|
||||||
- text
|
- text
|
||||||
@ -2428,6 +2448,8 @@ definitions:
|
|||||||
type: object
|
type: object
|
||||||
server_api_params.GroupInfo:
|
server_api_params.GroupInfo:
|
||||||
properties:
|
properties:
|
||||||
|
applyMemberFriend:
|
||||||
|
type: integer
|
||||||
createTime:
|
createTime:
|
||||||
type: integer
|
type: integer
|
||||||
creatorUserID:
|
creatorUserID:
|
||||||
@ -2444,12 +2466,18 @@ definitions:
|
|||||||
type: integer
|
type: integer
|
||||||
introduction:
|
introduction:
|
||||||
type: string
|
type: string
|
||||||
|
lookMemberInfo:
|
||||||
|
type: integer
|
||||||
memberCount:
|
memberCount:
|
||||||
type: integer
|
type: integer
|
||||||
needVerification:
|
needVerification:
|
||||||
type: integer
|
type: integer
|
||||||
notification:
|
notification:
|
||||||
type: string
|
type: string
|
||||||
|
notificationUpdateTime:
|
||||||
|
type: integer
|
||||||
|
notificationUserID:
|
||||||
|
type: string
|
||||||
ownerUserID:
|
ownerUserID:
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
@ -2465,6 +2493,8 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
groupID:
|
groupID:
|
||||||
type: string
|
type: string
|
||||||
|
inviterUserID:
|
||||||
|
type: string
|
||||||
joinSource:
|
joinSource:
|
||||||
type: integer
|
type: integer
|
||||||
joinTime:
|
joinTime:
|
||||||
@ -2494,6 +2524,10 @@ definitions:
|
|||||||
type: integer
|
type: integer
|
||||||
handleUserID:
|
handleUserID:
|
||||||
type: string
|
type: string
|
||||||
|
inviterUserID:
|
||||||
|
type: string
|
||||||
|
joinSource:
|
||||||
|
type: integer
|
||||||
reqMsg:
|
reqMsg:
|
||||||
type: string
|
type: string
|
||||||
reqTime:
|
reqTime:
|
||||||
@ -2702,11 +2736,6 @@ paths:
|
|||||||
description: 用户注册
|
description: 用户注册
|
||||||
operationId: UserRegister
|
operationId: UserRegister
|
||||||
parameters:
|
parameters:
|
||||||
- description: im token
|
|
||||||
in: header
|
|
||||||
name: token
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
- description: secret为openIM密钥, 详细见服务端config.yaml secret字段 <br> platform为平台ID
|
- description: secret为openIM密钥, 详细见服务端config.yaml secret字段 <br> platform为平台ID
|
||||||
<br> ex为拓展字段 <br> gender为性别, 0为女, 1为男
|
<br> ex为拓展字段 <br> gender为性别, 0为女, 1为男
|
||||||
in: body
|
in: body
|
||||||
@ -2739,11 +2768,6 @@ paths:
|
|||||||
description: 获取用户的token
|
description: 获取用户的token
|
||||||
operationId: UserToken
|
operationId: UserToken
|
||||||
parameters:
|
parameters:
|
||||||
- description: im token
|
|
||||||
in: header
|
|
||||||
name: token
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
- description: secret为openIM密钥, 详细见服务端config.yaml secret字段 <br> platform为平台ID
|
- description: secret为openIM密钥, 详细见服务端config.yaml secret字段 <br> platform为平台ID
|
||||||
in: body
|
in: body
|
||||||
name: req
|
name: req
|
||||||
|
@ -245,6 +245,7 @@ func GetGroupMembersInfoFromCache(count, offset int32, groupID string) ([]*db.Gr
|
|||||||
groupMembers, err := GetGroupMemberInfoFromCache(groupID, userID)
|
groupMembers, err := GetGroupMemberInfoFromCache(groupID, userID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError("", utils.GetSelfFuncName(), err.Error(), groupID, userID)
|
log.NewError("", utils.GetSelfFuncName(), err.Error(), groupID, userID)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
groupMemberList = append(groupMemberList, groupMembers)
|
groupMemberList = append(groupMemberList, groupMembers)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user