Initial commit: kefu-server-saas v2.0
客服服务器完整源码,包含: - Express HTTP服务 (port 9501) - WebSocket服务 (port 9502) - SaaS多租户认证 - 坐席管理、消息管理、连接管理 - SQLite数据库(5张核心表) - 管理后台 (/admin) - 坐席工作台 (/agent, /agent-mobile) - 商城REST API (/plugin.yunqian-api) - 消息推送API (/message/push) 技术栈:Node.js 18 + Express 4 + ws 8 + better-sqlite3 + EJS + PM2
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "kefu-server-saas",
|
||||
"version": "2.0.0",
|
||||
"description": "SaaS 客服服务器 - 多租户坐席管理与实时消息",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
"start": "node src/app.js",
|
||||
"dev": "node --watch src/app.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^1.7.2",
|
||||
"better-sqlite3": "^11.0.0",
|
||||
"cookie-parser": "^1.4.6",
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.4.5",
|
||||
"ejs": "^3.1.10",
|
||||
"express": "^4.19.2",
|
||||
"express-session": "^1.18.0",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"binary": {
|
||||
"module_name": "better_sqlite3",
|
||||
"module_path": "./build/Release/",
|
||||
"host": "https://registry.npmmirror.com/-/binary/better-sqlite3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user