docs(deploy): 添加部署文档和安全设计规范

- 新增 XuqmGroup 部署文档,包含部署方案、架构建议和部署步骤
- 添加安全设计规范,涵盖密码安全、AppSecret验证和服务端API认证
- 补充平台REST API规范,定义Server-to-Server调用接口和错误码
- 创建Java IM服务端SDK计划文档,规划Maven包发布和接口实现
这个提交包含在:
XuqmGroup 2026-05-08 18:31:59 +08:00
父节点 ea588a8f53
当前提交 790acf1fa9

查看文件

@ -72,7 +72,7 @@ async function login(userId, password = '123456') {
const res = await fetch(`${DEMO_AUTH_URL}/login`, { const res = await fetch(`${DEMO_AUTH_URL}/login`, {
method: 'POST', method: 'POST',
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ appId: 'ak_demo_chat', userId, password }), body: JSON.stringify({ appKey: 'ak_demo_chat', userId, password }),
}) })
const json = await res.json() const json = await res.json()
if (json.code !== 200) throw new Error(`Login failed: ${json.message}`) if (json.code !== 200) throw new Error(`Login failed: ${json.message}`)