代码拉取完成,页面将自动刷新
文档: http://47.115.54.220:57070
项目说明
采用 springboot+mybatis 开发, 使用Http api, socket.io 协议与客户端SDK交互。
2.01版本后已合并社区版中间件echatim-server-broker-community, 无需再另行下载编译。
运行方式
mvn clean install -DskipTests=true
java -jar server-community-deploy/target/server-community-deploy-1.0.jar
端口情况
swagger: http://localhost:8082/swagger-ui.html
socket-io: http://localhost:9092
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'
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'
客户端:
E聊提供了基本的jmeter压力测试脚本, 可以启动多个线程对收发消息的延时进行测试,下载地址如下:
链接:https://pan.baidu.com/s/1AoynGRl9Z_Ov_KbS_kVPcg 提取码:pp43
你可以在登录后,发表评论
仓库评论 ( 4 )