客服IM服务端,基于t-io
客服IM,基于t-io
前端项目:
https://github.com/weifuchuan/customer-service-webapp
临时预览:(么得云服务器啦)
客户端:http://123.207.28.107:7776/cs/customer
客服端:http://123.207.28.107:7776/cs/waiter
运行命令:mvn clean package
构建后,在target/customer-service-*文件夹中,修改config/config.properties
配置文件,1)windows:运行start.bat;2)linux:./server.sh start
或./server.sh restart
或./server.sh stop
。
com.fuchuan.customerservice.server.handler.actual
中添加类,继承BaseActualHandler类,并注解@HandlerForCommand(Command.XXX),会自动注册到servermvn protobuf:compile && mvn protobuf:compile-custom
npm install
或yarn
安装node依赖,运行./gen-ts.sh
。(项目中通过windows10的linux子系统运行之。)