Skip to content

Commit

Permalink
添加一份后端json数据
Browse files Browse the repository at this point in the history
  • Loading branch information
hzzly committed May 8, 2017
1 parent a2dda2c commit e1b6883
Show file tree
Hide file tree
Showing 10 changed files with 447 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
> * vuex
> * axios
> * es6
> * localStorage
> * webpack
#### 后台
> * Node(Express)
> * restful api
> * leancloud
### [具体详情](https://hzzly.github.io/2017/03/08/%E8%BF%9B%E9%98%B6vue%E5%85%A8%E5%AE%B6%E6%A1%B6/)

## Build Setup

``` bash
Expand Down
5 changes: 5 additions & 0 deletions jsonData/getPubTotravelNum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//用户发布约行个数
{
"data": 2,
"success": true
}
63 changes: 63 additions & 0 deletions jsonData/myTravel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
//获取用户自己发布的约行
{
"data": [
{
"joinMax": "10",
"clicks": 2393,
"content": "",
"travelPic": "http://ac-afkydcqq.clouddn.com/f7a0443a710ceded28ef.jpg",
"endTime": {
"__type": "Date",
"iso": "2017-03-28T05:41:00.000Z"
},
"joinNum": 0,
"joinUser": [
"58d88609a22b9d00646ada5f"
],
"title": "庐山游",
"releaseUsername": "哈哈",
"releaseUserId": "5836c4ea67f3560065f52b5d",
"cantJoinTime": {
"__type": "Date",
"iso": "2017-03-16T05:41:00.000Z"
},
"beginTime": {
"__type": "Date",
"iso": "2017-02-28T05:41:00.000Z"
},
"releaseTime": "2017-02-28 13:37:50",
"destination": "江西 九江 庐山区 江西省九江市",
"objectId": "58b50cae570c350058aaeb25",
"createdAt": "2017-02-28T05:37:50.528Z",
"updatedAt": "2017-05-08T13:05:22.004Z"
},
{
"joinMax": "5",
"clicks": 927,
"content": "dfrgrvf",
"travelPic": "http://ac-afkydcqq.clouddn.com/f7a0443a710ceded28ef.jpg",
"endTime": {
"__type": "Date",
"iso": "2017-03-23T03:10:00.000Z"
},
"joinNum": 0,
"title": "hhhhhhh",
"releaseUsername": "哈哈",
"releaseUserId": "5836c4ea67f3560065f52b5d",
"cantJoinTime": {
"__type": "Date",
"iso": "2017-02-28T03:10:00.000Z"
},
"beginTime": {
"__type": "Date",
"iso": "2017-02-28T03:10:00.000Z"
},
"releaseTime": "2017-02-28 11:10:56",
"destination": "江西 南昌 东湖区 efrgvv",
"objectId": "58b4ea408fd9c50064bf9fa2",
"createdAt": "2017-02-28T03:10:56.516Z",
"updatedAt": "2017-04-30T11:45:28.946Z"
}
],
"success": true
}
22 changes: 22 additions & 0 deletions jsonData/sportDetail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//约跑步第一个活动详情
{
"data": {
"joinMax": "5",
"content": "快来参加吧。。。",
"endTime": "11/16/2016, 4:47:00 PM",
"joinUser": [
"58d88609a22b9d00646ada5f"
],
"title": "夜跑队",
"releaseUsername": "hzzly",
"releaseUserId": "57a1f1150a2b58005828c312",
"cantJoinTime": "11/16/2016, 4:47:00 PM",
"beginTime": "11/16/2016, 4:47:00 PM",
"releaseTime": "2016-11-16 16:51:08",
"destination": "江西 南昌 新建县 东华理工大学",
"objectId": "582c1dfd2e958a0069b30768",
"createdAt": "2016-11-16T08:51:09.087Z",
"updatedAt": "2017-03-27T03:27:12.438Z"
},
"success": true
}
60 changes: 60 additions & 0 deletions jsonData/sportList.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
//约跑步数据
{
"data": [
{
"joinMax": "5",
"content": "快来参加吧。。。",
"endTime": {
"__type": "Date",
"iso": "2016-11-16T08:47:00.000Z"
},
"joinUser": [
"58d88609a22b9d00646ada5f"
],
"title": "夜跑队",
"releaseUsername": "hzzly",
"releaseUserId": "57a1f1150a2b58005828c312",
"cantJoinTime": {
"__type": "Date",
"iso": "2016-11-16T08:47:00.000Z"
},
"beginTime": {
"__type": "Date",
"iso": "2016-11-16T08:47:00.000Z"
},
"releaseTime": "2016-11-16 16:51:08",
"destination": "江西 南昌 新建县 东华理工大学",
"objectId": "582c1dfd2e958a0069b30768",
"createdAt": "2016-11-16T08:51:09.087Z",
"updatedAt": "2017-03-27T03:27:12.438Z"
},
{
"joinMax": "5",
"content": "",
"endTime": {
"__type": "Date",
"iso": "2016-08-27T12:13:00.000Z"
},
"joinUser": [
"57a1f1150a2b58005828c312"
],
"title": "来吗",
"releaseUsername": "hzzly",
"releaseUserId": "57a1f1150a2b58005828c312",
"cantJoinTime": {
"__type": "Date",
"iso": "2016-08-27T12:13:00.000Z"
},
"beginTime": {
"__type": "Date",
"iso": "2016-08-27T12:13:00.000Z"
},
"releaseTime": "2016-08-27 20:14:15",
"destination": "天津 天津市 和平区 都觉得你的背包大小姐惊喜",
"objectId": "57c18416efa631005ab356f1",
"createdAt": "2016-08-27T12:14:14.884Z",
"updatedAt": "2017-02-24T01:51:51.354Z"
}
],
"success": true
}
25 changes: 25 additions & 0 deletions jsonData/travelDetail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//第一条约行活动详情
{
"data": {
"joinMax": "10",
"clicks": 2393,
"content": "",
"travelPic": "http://ac-afkydcqq.clouddn.com/f7a0443a710ceded28ef.jpg",
"endTime": "3/28/2017, 1:41:00 PM",
"joinNum": 0,
"joinUser": [
"58d88609a22b9d00646ada5f"
],
"title": "庐山游",
"releaseUsername": "哈哈",
"releaseUserId": "5836c4ea67f3560065f52b5d",
"cantJoinTime": "3/16/2017, 1:41:00 PM",
"beginTime": "2/28/2017, 1:41:00 PM",
"releaseTime": "2017-02-28 13:37:50",
"destination": "江西 九江 庐山区 江西省九江市",
"objectId": "58b50cae570c350058aaeb25",
"createdAt": "2017-02-28T05:37:50.528Z",
"updatedAt": "2017-05-08T13:05:22.004Z"
},
"success": true
}
Loading

0 comments on commit e1b6883

Please sign in to comment.