客服系统
一款基于WebSocket的在线客服系统
介绍
客服系统
项目使用的是GatewayWorker进行的开发,如需学习更多,请参考https://www.workerman.net/doc/gateway-worker
准备事项
- 服务器需要开启长连接端口号(如1818),需要在对应服务器平台开启该端口号,并且在宝塔面板的安全里放行该端口号
- 删除宝塔禁用的php函数,不知道需要删除的函数,可以以debug(调试)方式启动服务,根据对应的提示删除函数
以下为需要删除的函数列表:putenvshell_execproc_openpcntl_signalpcntl_signal_dispatchpcntl_waitpcntl_alarmpcntl_fork
Websocket开启命令首先进入项目目录
- windows 暂不支持启动
- linux 启动
启动以debug(调试)方式启动php think kefu start
以daemon(守护进程)方式启动php think kefu start d
停止php think kefu stop
重启php think kefu restart
平滑重启php think kefu reload
查看状态php think kefu status
后台配置聊天参数
- 后台打开客服配置,点击运行配置进行参数配置
更新日志
2024-12-01 14:55:40
v1.0.1
升级至v1.0.1
版本发布