修正数据写入
This commit is contained in:
11
README.md
11
README.md
@@ -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;
|
||||
```
|
||||
|
Reference in New Issue
Block a user