# IM-二次开发 **Repository Path**: Oranger7/im ## Basic Information - **Project Name**: IM-二次开发 - **Description**: No description available - **Primary Language**: Java - **License**: MIT - **Default Branch**: 1.0.x-cjy - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-16 - **Last Updated**: 2021-01-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### echatim 后端项目 官网: http://www.echatim.cn 文档: https://www.jianshu.com/u/5ffeb01f41d9 1. 项目说明 采用 springboot+mybatis 开发, 使用Http api, socket.io 协议与客户端SDK交互。 依赖[echatim中间件](https://gitee.com/dzqmeiji/echatim-server-broker-community) 2. 运行方式 ```bash mvn clean install -DskipTests=true java -jar server-community-deploy/target/server-community-deploy-1.0.jar ``` 2. 端口情况 swagger: http://localhost:8082/swagger-ui.html socket-io: http://localhost:9092 #### 使用/管理 1. 用户登录 ```bash curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \ "appKey": "TSDKTEST00001", \ "auid": "admin", \ "token": "f2ea07d1cad84b95ad76f106ebf4f412" \ }' 'http://localhost:8082/v1/connection/authority_request' ``` 2. 创建一个用户 ```bash curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \ "auid": "newuser001", \ "avatar": "头像url", \ "birth": "生日", \ "email": "邮件", \ "ex": "{}", \ "gender": 0, \ "mobile": "手机", \ "name": "账号昵称", \ "sign": "签名", \ "token": "password123456" \ }' 'http://localhost:8082/v1/user/add' ``` #### 版本记录: ##### v 1.02 - 2020-06-28 * 加入本地文件服务器支持. ##### v 1.01 - 2020-05-24 * 第一版源码发布