feat: 优化socket,并增加群聊功能
Showing
app/middleware/jwt.ts
0 → 100644
app/model/ChatRoom.ts
0 → 100644
app/model/ChatUser.ts
0 → 100644
app/model/GCounter.ts
0 → 100644
app/service/home.ts
deleted
100644 → 0
| ... | ... | @@ -8,7 +8,7 @@ |
| "declarations": true | ||
| }, | ||
| "scripts": { | ||
| "start": "npm run tsc && egg-scripts start --daemon --title=egg-websocket --sticky", | ||
| "start": "npm run tsc && egg-scripts start --daemon --sticky", | ||
| "stop": "egg-scripts stop --title=egg-server-geek-egg", | ||
| "dev": "egg-bin dev --sticky", | ||
| "debug": "egg-bin debug", | ||
| ... | ... | @@ -24,6 +24,8 @@ |
| "dependencies": { | ||
| "egg": "^2.6.1", | ||
| "egg-cors": "^2.2.3", | ||
| "egg-jwt": "^3.1.7", | ||
| "egg-mongoose": "^3.3.1", | ||
| "egg-redis": "^2.4.0", | ||
| "egg-scripts": "^2.6.0", | ||
| "egg-socket.io": "^4.1.6", | ||
| ... | ... | @@ -41,6 +43,7 @@ |
| "egg-mock": "^3.16.0", | ||
| "eslint": "^6.7.2", | ||
| "eslint-config-egg": "^8.0.0", | ||
| "sequelize-cli": "^6.2.0", | ||
| "tslib": "^1.9.0", | ||
| "typescript": "^3.0.0" | ||
| }, | ||
| ... | ... |
typings/app/model/index.d.ts
0 → 100644
Please
register
or
sign in
to comment