修正数据写入

This commit is contained in:
散仙
2024-11-26 02:29:11 +08:00
parent 9f51113734
commit 9b976ad402
3 changed files with 20 additions and 8 deletions

View File

@@ -7,8 +7,17 @@
导出接口
```bash
# 安装依赖
npm install --registry=https://registry.npmmirror.com
node main.js
# 连接数据库
ssh -NCPf ai -L 3306:localhost:3306
```
```sql
-- 创建字段
ALTER TABLE web_images ADD COLUMN day_rank INT UNSIGNED;
ALTER TABLE web_images ADD COLUMN week_rank INT UNSIGNED;
ALTER TABLE web_images ADD COLUMN month_rank INT UNSIGNED;
```