1. 进入创建文章页面`GET /topic/create`改动: 返回字段增加`my_original_tags`, 数据格式:
```
{"my_original_tags": [{"_id":"5fd44f26f83446cef994e1d9","name":"你好","update_at":"2020-12- 12T05:06:17.981Z","topics_size":1},{"_id":"5fd44fc9cb9b69cf39a0671a","name":"你好3","update_at":"2020-12-12T05:06:17.513Z","topics_size":1},{"_id":"5fd44faa4d0f53cf2307461a","name":"你好2","update_at":"2020-12-12T05:05:46.856Z","topics_size":0},{"_id":"5fd44810df64aacda776465e","name":"测试标签1","update_at":"2020-12-12T04:33:20.163Z","topics_size":0}]}
```
2. 发表新文章接口`POST /topic/create`改动, 入参字段增加`original_tags`, 数据格式:
```
original_tags: '你2 你3 你4 你5'
```
3. 进入文章编辑页面`GET /topic/:tid/edit`改动, 返回字段增加`my_original_tags`(作者的所有原创标签)和`tags`(这边文章已分配的标签), 数据格式:
my_original_tags:
```
{"`my_original_tags`": [{"_id":"5fd45ea584d4360537d856a7","name":"你2","update_at":"2020-12-12T06:11:12.471Z","topics_size":2},{"_id":"5fd45ea584d4360537d856a6","name":"你3","update_at":"2020-12-12T06:11:12.387Z","topics_size":2},{"_id":"5fd45ea584d4360537d856a5","name":"你4","update_at":"2020-12-12T06:11:12.275Z","topics_size":2},{"_id":"5fd45ea584d4360537d856a4","name":"你5","update_at":"2020-12-12T06:11:12.172Z","topics_size":2},{"_id":"5fd44f26f83446cef994e1d9","name":"你好","update_at":"2020-12-12T05:06:17.981Z","topics_size":1},{"_id":"5fd44fc9cb9b69cf39a0671a","name":"你好3","update_at":"2020-12-12T05:06:17.513Z","topics_size":1},{"_id":"5fd44faa4d0f53cf2307461a","name":"你好2","update_at":"2020-12-12T05:05:46.856Z","topics_size":0},{"_id":"5fd44810df64aacda776465e","name":"测试标签1","update_at":"2020-12-12T04:33:20.163Z","topics_size":0}]}
```
tags:
```
{"tags": [{"name":"你5"},{"name":"你4"},{"name":"你3"},{"name":"你2"}]}
```
4. 编辑文章接口`POST /topic/:tid/edit`改动, 入参字段增加`original_tags`, 数据格式:
```
original_tags: '你2 你3 你4 你5'
```
5. 进入文章详情页`GET /topic/:tid`改动, 返回字段增加`tags`(这边文章已分配的标签), 数据格式:
```
{"tags": [{"name":"你5"},{"name":"你4"},{"name":"你3"},{"name":"你2"}]}
```
6. 进入"我的文章"页面`/user/:name/my_topics`, 返回字段增加`my_original_tags`, 数据格式:
```
{"`my_original_tags`": [{"_id":"5fd45ea584d4360537d856a7","name":"你2","update_at":"2020-12-12T06:11:12.471Z","topics_size":2},{"_id":"5fd45ea584d4360537d856a6","name":"你3","update_at":"2020-12-12T06:11:12.387Z","topics_size":2},{"_id":"5fd45ea584d4360537d856a5","name":"你4","update_at":"2020-12-12T06:11:12.275Z","topics_size":2},{"_id":"5fd45ea584d4360537d856a4","name":"你5","update_at":"2020-12-12T06:11:12.172Z","topics_size":2},{"_id":"5fd44f26f83446cef994e1d9","name":"你好","update_at":"2020-12-12T05:06:17.981Z","topics_size":1},{"_id":"5fd44fc9cb9b69cf39a0671a","name":"你好3","update_at":"2020-12-12T05:06:17.513Z","topics_size":1},{"_id":"5fd44faa4d0f53cf2307461a","name":"你好2","update_at":"2020-12-12T05:05:46.856Z","topics_size":0},{"_id":"5fd44810df64aacda776465e","name":"测试标签1","update_at":"2020-12-12T04:33:20.163Z","topics_size":0}]}
```
7. 新增接口`/api/v1/topic/listOriginalTags`, 展示用户所有原创标签及标签包含文章的数量, 可以按照标签名模糊搜索, 返回格式:
```
{ status: 'success',
data:
[ { _id: '5fd44faa4d0f53cf2307461a',
name: '你好2',
update_at: '2020-12-12T07:04:46.049Z',
topics_size: 1 },
{ _id: '5fd44f26f83446cef994e1d9',
name: '你好',
update_at: '2020-12-12T05:06:17.981Z',
topics_size: 1 },
{ _id: '5fd44fc9cb9b69cf39a0671a',
name: '你好3',
update_at: '2020-12-12T05:06:17.513Z',
topics_size: 1 }
]
}
```