Files
Web_UploadTest_Rcu_Dev/README.md
XuJiacheng 99279006a2 refactor(api): 将WebChatUpgrade接口更新为Upgrade_V2并调整相关字段
更新API端点从WebChatUpgrade改为Upgrade_V2,同时将响应字段Data更名为Message
修改涉及README文档、API规范、控制器和客户端代码,保持接口变更的一致性
2026-01-21 17:02:20 +08:00

22 lines
534 B
Markdown

# RCU Upgrade Service
## Overview
Node.js backend service to manage RCU firmware upgrades.
Triggers upgrades via `Upgrade_V2` API and polls status via `QueryUpdateHostProgressBar`.
## Setup
1. Install dependencies: `npm install`
2. Configure `.env` (see `.env.example` or documentation)
3. Setup PostgreSQL database `test_upgrade`.
## Running
- Dev: `npm run dev`
- Production: `pm2 start pm2.json`
## Spec & Validation
- Lint Spec: `npm run spec:lint`
- Validate Spec: `npm run spec:validate`
## Testing
- Run tests: `npm test`