Commit b546e7e9 by hweeeeeei

/restApi/ 改成 /server/

parent 289fcb4c
......@@ -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 {
......
......@@ -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 {
......
......@@ -199,7 +199,8 @@ spring-boot-plus:
- /imApplication/**
- /signDemo/get
- /Wecloud-IM-Websocket-Docs.html
- /restApi/**
# 服务端rest-API
- /server/**
# 多行字符串权限配置
filter-chain-definitions: |
......
# wecloud-im服务端REST API对接文档
# wecloud-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"}]}
```
### 方式二(暂时没开发)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment