Create uni-news.md

This commit is contained in:
hbcui1984 2020-07-15 20:05:33 +08:00
parent 7326045802
commit 7ae4686d4a

19
uni-news.md Normal file
View File

@ -0,0 +1,19 @@
## 文章评论
表名uni-posts
| 字段 | 类型 | 必填| 描述 |
| ----------------| --------- | ----| ------------------------------------------- |
| \_id | Object ID | 是 | 存储文档 ID文章 ID系统自动生成 |
| author | String | 是 | 作者ID |
| title | String | 是 | 标题 |
| content | String | 是 | 文章内容 |
| excerpt | String | 否 | 文章摘录 |
| post_status | Integer | 是 | 文章状态0 草稿箱 1 已发布 |
| comment_status | Integer | 是 | 评论状态0 关闭 1 开放 |
| avatar | String | 否 | 缩略图地址 |
| post_date | Timestamp | 否 | 发表时间 |
| post_ip | String | 否 | 发表时 IP 地址 |
| last_modify_date| Timestamp | 否 | 最后修改时间 |
| last_modify_ip | String | 否 | 最后修改时 IP 地址 |