feat(授权): 添加后端服务支持自动获取授权码

- 新增 server 目录包含后端服务,支持通过 AK/SK 或用户名密码认证获取授权码
- 添加前端 API 模块实现授权码获取功能
- 更新 UI 增加获取授权码按钮和输入框布局
- 完善 README 文档说明后端配置和启动流程
This commit is contained in:
2026-04-29 17:21:24 +08:00
parent 149cd0222d
commit 4f72519c9a
7 changed files with 353 additions and 61 deletions

13
server/package.json Normal file
View File

@@ -0,0 +1,13 @@
{
"name": "antiwear-server",
"version": "1.0.0",
"description": "华为交互数字人后端服务",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5"
}
}