# webchat **Repository Path**: gakii/webchat ## Basic Information - **Project Name**: webchat - **Description**: drrr聊天机器人,java版。能收发消息,功能用的话请自己加谢谢 - **Primary Language**: Java - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-12-01 - **Last Updated**: 2022-07-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webchat #### 介绍 {**drrr聊天机器人**} ##### 好像可以了?! #### 软件架构 1. 前后端分离。目测服务器带宽只能提供数据 2. netty实现聊天功能(对不起中间就变成聊天机器人了) 3. 其实写了也不一定会做下去 配置要求:jdk8+mysql+maven 1.建表sql在resources下,修改application.yml中数据库的配置 2.打包项目 3.java -jar 项目名 自动加入房间的机器人(一键创建用户,进入房间,开启机器人功能):localhost/drrr/goToTF?var1=你的名字(好像不能带tc!)&var2=头像名字(例:kanra)&var3=房间名称关键字 注入版机器人启动网址(当你在房间的时候使用):http://localhost/drrr/getByUserId?flag=a(flag可以随便写)&code=你自己的drrr-session-1 例:http://localhost/drrr/getByUserId?flag=a&code=drrr-session-1=rld4t873sb36e5g0hfh8s02br2 聊天记录的话可以参考 [这个项目](https://gitee.com/gakii/back-stage-management) ,请求的ip修改成localhost就行了 关闭方法(关闭单个用户的方法有点问题,还没改完) [http://localhost:8080/drrr/stopAll](http://localhost:8080/drrr/stopAll) jdk1.8 不要用openjdk(如果报https协议的错误的话) ----------下面只是为了留着当md模板-------- #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)