Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
d5e41fdc
Commit
d5e41fdc
authored
Dec 02, 2021
by
hweeeeeei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复接口: 会话中成员表列表返回 clientId
parent
b501b346
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
2 deletions
+35
-2
common/src/main/java/com/wecloud/im/controller/ImClientController.java
+9
-0
common/src/main/java/com/wecloud/im/controller/ImConversationMembersController.java
+1
-2
common/src/main/java/com/wecloud/im/param/GetClientInfoParam.java
+25
-0
No files found.
common/src/main/java/com/wecloud/im/controller/ImClientController.java
View file @
d5e41fdc
...
...
@@ -48,6 +48,15 @@ public class ImClientController extends BaseController {
@Autowired
private
ImApplicationService
imApplicationService
;
@PostMapping
(
"/info"
)
@ApiOperation
(
value
=
"根据id获取Client的头像昵称"
)
public
ApiResult
<
Boolean
>
getInfo
(
@Validated
(
Add
.
class
)
@RequestBody
ImClientDeviceInfoAdd
imClientDevice
)
throws
Exception
{
boolean
flag
=
imClientService
.
updateDeviceInfo
(
imClientDevice
);
return
ApiResult
.
result
(
flag
);
}
/**
* 添加或修改推送设备信息
*/
...
...
common/src/main/java/com/wecloud/im/controller/ImConversationMembersController.java
View file @
d5e41fdc
...
...
@@ -12,7 +12,6 @@ import io.swagger.annotations.ApiOperation;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
...
@@ -58,7 +57,7 @@ public class ImConversationMembersController extends BaseController {
/**
* 会话中成员表列表
*/
@
Ge
tMapping
(
"/getList"
)
@
Pos
tMapping
(
"/getList"
)
// @OperationLog(name = "会话中成员表列表", type = OperationLogType.PAGE)
@ApiOperation
(
value
=
"会话中成员表列表"
)
public
ApiResult
<
List
<
ImConversationMemberListVo
>>
getImConversationMembersList
(
@Validated
@RequestBody
ImConversationMembersListParam
imConversationMembersListParam
)
throws
Exception
{
...
...
common/src/main/java/com/wecloud/im/param/GetClientInfoParam.java
0 → 100644
View file @
d5e41fdc
package
com
.
wecloud
.
im
.
param
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* sign
*
* @author wei
* @since 2021-04-29
*/
@Data
@ApiModel
(
value
=
"GetSignParam"
)
public
class
GetClientInfoParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"client客户端id"
)
private
List
<
String
>
clientId
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment