Files
easemob-sdk-test/config.json
zyh b3a7461548 refactor: 改用配置文件替代数据库读取
- 新增 config.json 存储环信配置和测试账号
- 修改 test-easemob-msg.js 从配置文件读取配置
- 移除 sql.js 依赖,简化项目依赖
- 更新测试脚本注释说明

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-29 23:15:18 +00:00

26 lines
559 B
JSON

{
"easemob": {
"enabled": true,
"appKey": "1101260329209923#demo",
"restServer": "https://a1.easemob.com",
"socketServer": "wss://im-api-v2.easemob.com/ws",
"debug": true
},
"accounts": {
"bot": {
"label": "originclaw_bot",
"user": "originclaw_bot",
"pwd": "OriginClaw2026!"
},
"tester": {
"label": "testuser1",
"user": "testuser1",
"pwd": "Test123456"
}
},
"restApi": {
"clientId": "YXA6kkv90BPkRMKePRDWROyxzA",
"clientSecret": "YXA6aMhXlWR6gefM4gWTQ68TyVy9klY"
}
}