Skip to content

Commit

Permalink
update:视频接口文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Qsnh committed Oct 15, 2018
1 parent 45c8ee3 commit 2938701
Showing 1 changed file with 39 additions and 25 deletions.
64 changes: 39 additions & 25 deletions docs/api/v1/视频接口.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@

```angular2html
{
"data":{
"id":2,
"title":"Adella Langosh",
"slug":"doloremque-quia-fugit-consectetur-fuga-architecto-quis",
"view_num":8,
"charge":0,
"short_description":"Mr.",
"description":"Tenetur placeat rerum sunt harum molestiae est nihil perferendis. Et omnis autem earum. Aut nihil explicabo quam voluptas repellat sit.",
"published_at":"1988-02-05 01:09:41"
"data": {
"id": 1,
"title": "Crystel Collier",
"slug": "quia-voluptatibus-eaque-debitis-placeat-iusto-libero-nulla-quibusdam",
"view_num": 4,
"charge": 179,
"short_description": "<p>Prof.</p>",
"description": "<p>Eum quia ut iusto asperiores enim est et. Voluptas non voluptates nostrum sunt quia. Placeat temporibus fugiat quos delectus. Quia totam alias eum sit aspernatur.</p>",
"published_at": 389614221
}
}
```
Expand Down Expand Up @@ -120,14 +120,28 @@
"avatar": "/images/default_avatar.jpg",
"nick_name": "小滕",
"mobile": "13675626825",
"role": []
"role": {
"role": "年度会员",
"expired_at": 1550196621
},
"unread_notification_num": 0
},
"content": "<p>hahahahhahahah</p>",
"created_at": 1539569678
},
{
"user": {
"avatar": "/images/default_avatar.jpg",
"nick_name": "小滕",
"mobile": "13675626825",
"role": {
"role": "年度会员",
"expired_at": 1550196621
},
"unread_notification_num": 0
},
"content": "<p>123123123</p>",
"created_at": {
"date": "2018-10-09 14:39:18.000000",
"timezone_type": 3,
"timezone": "PRC"
}
"content": "<p>123123</p>",
"created_at": 1539569666
}
],
"links": {
Expand All @@ -142,8 +156,8 @@
"last_page": 1,
"path": "http://127.0.0.1:8000/api/v1/video/1/comments",
"per_page": 10,
"to": 1,
"total": 1
"to": 2,
"total": 2
}
}
```
Expand Down Expand Up @@ -174,14 +188,14 @@
"avatar": "/images/default_avatar.jpg",
"nick_name": "小滕",
"mobile": "13675626825",
"role": []
"role": {
"role": "年度会员",
"expired_at": 1550196621
},
"unread_notification_num": 0
},
"content": "<p>123123123</p>",
"created_at": {
"date": "2018-10-09 15:08:04.000000",
"timezone_type": 3,
"timezone": "PRC"
}
"content": "<p>123123 &#x1f604;</p>",
"created_at": 1539569747
}
}
```
Expand Down

0 comments on commit 2938701

Please sign in to comment.