Commit d5576dc5 by giaogiao

添加websocket文档

parent c2933f38
This source diff could not be displayed because it is too large. You can view the blob instead.
# wecloud-im 前端Websocket对接文档 # wecloud-im 前端Websocket对接文档
...@@ -2,21 +2,32 @@ ...@@ -2,21 +2,32 @@
## 文档描述 ## 文档描述
此文档为websocket技术对接文档 本项目有两个文档, 1.websocket对接文档 和 HTTP协议的API文档
## 适用对象 **本文档为websocket技术对接文档**
web端. 安卓端. ios端. flutter等一切支持websocket的语言 HTTP协议的API以Swagger实时生成为准
## HTTP协议API文档
Swagge文档地址:
### 本地API文档地址 本地环境IP可能有变化 联系后端
http://192.168.1.110:8082/api/doc.html#/home http://192.168.1.89:8082/api/doc.html#/home
账号密码admin admin 账号密码admin admin
以上只包含api接口文档 websocket对接说明在此文档中 以上只包含api接口文档 websocket对接说明在此文档中
## 适用对象
web端. 安卓端. ios端. flutter等一切支持websocket的语言
### 测试外网 ### 测试外网
......
...@@ -45,8 +45,16 @@ public class IndexController { ...@@ -45,8 +45,16 @@ public class IndexController {
* SwaggerUI * SwaggerUI
*/ */
@GetMapping("/docs") @GetMapping("/docs")
public String swagger() { public String docs() {
return "redirect:/swagger-ui.html"; return "redirect:/swagger-ui.html";
} }
// /**
// * SwaggerUI
// */
// @GetMapping("/websocketDocs")
// public String websocket() {
// return "redirect:/Wecloud-IM-Websocket-Docs.html";
// }
} }
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