feat: 智币省初始版本 + PM2 部署配置
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# 智币省 (ZhiBiSheng)
|
||||
|
||||
聚合优惠工具 - 智币省
|
||||
|
||||
## 快速开始
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm start
|
||||
```
|
||||
|
||||
访问 http://localhost:3000
|
||||
|
||||
## PM2 管理
|
||||
|
||||
```bash
|
||||
pm2 start ecosystem.config.js
|
||||
pm2 stop zhibisheng
|
||||
pm2 restart zhibisheng
|
||||
pm2 logs zhibisheng
|
||||
```
|
||||
|
||||
## API 端点
|
||||
|
||||
- `GET /api/search?keyword=xxx` - 搜索优惠券
|
||||
- `GET /api/today-deals` - 今日特价
|
||||
- `GET /api/linbao` - 线报广场
|
||||
- `GET /api/price-history?itemid=xxx` - 历史价格
|
||||
Reference in New Issue
Block a user