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
b546e7e9
Commit
b546e7e9
authored
Dec 02, 2021
by
hweeeeeei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
/restApi/ 改成 /server/
parent
289fcb4c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
11 deletions
+33
-11
common/src/main/java/com/wecloud/im/controller/serverapi/ApiImConversationMembersController.java
+1
-1
common/src/main/java/com/wecloud/im/controller/serverapi/ApiImMessageController.java
+1
-1
config/src/main/resources/config/application.yml
+2
-1
docs/md/内部/wecloud-im服务端REST API对接文档.md
+29
-8
No files found.
common/src/main/java/com/wecloud/im/controller/serverapi/ApiImConversationMembersController.java
View file @
b546e7e9
...
...
@@ -31,7 +31,7 @@ import java.util.List;
*/
@Slf4j
@RestController
@RequestMapping
(
"/
restApi
/imConversationMembers"
)
@RequestMapping
(
"/
server
/imConversationMembers"
)
@Api
(
value
=
"服务端rest-API-会话成员表"
,
tags
=
{
"服务端API-会话成员表"
})
public
class
ApiImConversationMembersController
extends
BaseController
{
...
...
common/src/main/java/com/wecloud/im/controller/serverapi/ApiImMessageController.java
View file @
b546e7e9
...
...
@@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
*/
@Slf4j
@RestController
@RequestMapping
(
"/
restApi
/imMessage"
)
@RequestMapping
(
"/
server
/imMessage"
)
@Api
(
value
=
"服务端rest-API-消息"
,
tags
=
{
"服务端rest-API-消息"
})
public
class
ApiImMessageController
extends
BaseController
{
...
...
config/src/main/resources/config/application.yml
View file @
b546e7e9
...
...
@@ -199,7 +199,8 @@ spring-boot-plus:
-
/imApplication/**
-
/signDemo/get
-
/Wecloud-IM-Websocket-Docs.html
-
/restApi/**
# 服务端rest-API
-
/server/**
# 多行字符串权限配置
filter-chain-definitions
:
|
...
...
docs/md/内部/wecloud-im服务端REST API对接文档.md
View file @
b546e7e9
# wec
loud-im服务端REST API对接文档
# wec
loud-im服务端REST API对接文档
...
...
@@ -65,17 +65,38 @@ _______
```
json
curl -X PUT
\
-H "appkey: {{appkey}}"
\
-H "appSecret: {{appSecret}}"
\
-H "Content-Type: application/json"
\
-d '{"content": "你好"}'
\
https://https://ws.im199.com/api/
**示例**
: rest-api-会话成员表分页列表
-
Request URL: http://192.168.1.89:8082/api/restApi/imConversationMembers/findList
-
Request Method: POST
**请求头部**
```
appkey: D13ug9jsWbJbeVx1
appSecret: c92edcc7ba0c68b9b1da4cec6f3511876b2302faf2ab3737
```
**请求body**
```
{
"conversationId": 1442742976269914112
}
```
**响应数据**
```
{"code":200,"message":"成功","data":[{"clientId":"1442742442803503105"},{"clientId":"1435497966619996162"}]}
```
### 方式二(暂时没开发)
...
...
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