Skip to content

Commit

Permalink
新版本
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyunpeng committed Nov 10, 2017
1 parent ac7247a commit c27aad8
Show file tree
Hide file tree
Showing 44 changed files with 1,565 additions and 1,019 deletions.
5 changes: 4 additions & 1 deletion server/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h3>人物接口</h3>
</li>
</ul>

<h3>二期接口</h3>
<h3>首页接口</h3>
<ul>
<li>
<a href="api/site/index" target="_blank">首页</a>
Expand All @@ -130,6 +130,9 @@ <h3>二期接口</h3>
<li>
<a href="/api/guide/index" target="_blank">攻略</a>
</li>
<li>
<a href="/api/comment/get_list" target="_blank">深度点评</a>
</li>
</ul>

<h3>用户接口</h3>
Expand Down
1 change: 1 addition & 0 deletions server/server/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function router_reg(app){
app.all('/api/site/:name', require('./site/index').index);
app.all('/api/user/:name', require('./user/index').index);
app.all('/api/guide/:name', require('./guide/index').index);
app.all('/api/comment/:name', require('./site/index').index);
}


Expand Down
18 changes: 12 additions & 6 deletions server/server/site/data/comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"views": 755,
"replies": 2,
"imgs": [],
"sampleId": 3
"sampleId": 3,
"shootTime": null
},
{
"id": 8,
Expand All @@ -29,7 +30,8 @@
"http://marriage-1251225286.image.myqcloud.com/none/photos/20170908/59b20298e6cee218710397.jpg/ys?imageView2/2/w/300/h/200",
"http://marriage-1251225286.image.myqcloud.com/none/photos/20170908/59b2029a8b85b303239293.jpg/ys?imageView2/2/w/300/h/200"
],
"sampleId": 14
"sampleId": 14,
"shootTime": "2017-08-30"
},
{
"id": 7,
Expand All @@ -44,7 +46,8 @@
"http://marriage-1251225286.image.myqcloud.com/none/photos/20170908/59b2033f3a14e066935184.jpg/ys?imageView2/2/w/300/h/200",
"http://marriage-1251225286.image.myqcloud.com/none/photos/20170908/59b20340bcb7d686536549.jpg/ys?imageView2/2/w/300/h/200"
],
"sampleId": 13
"sampleId": 13,
"shootTime": "2017-09-21"
},
{
"id": 6,
Expand All @@ -56,7 +59,8 @@
"views": 755,
"replies": 2,
"imgs": [],
"sampleId": 9
"sampleId": 9,
"shootTime": null
},
{
"id": 5,
Expand All @@ -68,7 +72,8 @@
"views": 755,
"replies": 2,
"imgs": [],
"sampleId": 3
"sampleId": 3,
"shootTime": null
},
{
"id": 4,
Expand All @@ -84,7 +89,8 @@
"http://marriage-1251225286.image.myqcloud.com/none/photos/20170831/59a7ab51e2a01333754197.jpg/ys?imageView2/2/w/300/h/200",
"http://marriage-1251225286.image.myqcloud.com/none/photos/20170831/59a7ab6419b51328494804.jpg/ys?imageView2/2/w/300/h/200"
],
"sampleId": 1
"sampleId": 1,
"shootTime": "2017-08-15"
}
],
"page": {
Expand Down
43 changes: 11 additions & 32 deletions server/server/site/data/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,32 @@
"data": {
"bannner": [
{
"img": "http://marriage-1252045209.image.myqcloud.com/static/image/20171018/59e70441a8dc2973557027.jpeg/ys?imageView2/2/w/1920/h/530",
"thumbnail": "http://marriage-1252045209.image.myqcloud.com/static/image/20171018/59e70441a8dc2973557027.jpeg/ys?imageView2/2/w/73/h/55",
"img": "http://marriage-1252045209.image.myqcloud.com/static/image/20171018/59e70441a8dc2973557027.jpeg/ys?imageMogr2/scrop/1920x530/crop/1920x530",
"thumbnail": "http://marriage-1252045209.image.myqcloud.com/static/image/20171018/59e70441a8dc2973557027.jpeg/ys?imageMogr2/scrop/108x80/crop/108x80",
"url": "http://www.baidu.com",
"sampleId": 3,
"style": "asdf",
"storeId": 1,
"storeName": "郑州艾维美婚纱摄影(国贸360店)",
"shootTime": null,
"nickname": "阿斯蒂芬"
},
{
"img": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/1920/h/530",
"thumbnail": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/73/h/55",
"url": "http://www.baidu.com",
"sampleId": 3,
"style": "呵呵",
"storeId": 1,
"storeName": "郑州艾维美婚纱摄影(国贸360店)",
"shootTime": null,
"nickname": "阿斯蒂芬"
},
{
"img": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/1920/h/530",
"thumbnail": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/73/h/55",
"url": "http://www.baidu.com",
"sampleId": 3,
"id": 3,
"style": "呵呵",
"storeId": 1,
"storeName": "郑州艾维美婚纱摄影(国贸360店)",
"shootTime": null,
"nickname": "阿斯蒂芬"
},
{
"img": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/1920/h/530",
"thumbnail": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/73/h/55",
"img": "http://img1.gtimg.com/henan/pics/hv1/173/125/2246/146078198.jpg",
"thumbnail": "http://img1.gtimg.com/henan/pics/hv1/173/125/2246/146078198.jpg",
"url": "http://www.baidu.com",
"sampleId": 3,
"id": 3,
"style": "呵呵",
"storeId": 1,
"storeName": "郑州艾维美婚纱摄影(国贸360店)",
"shootTime": null,
"nickname": "阿斯蒂芬"
},
{
"img": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/1920/h/530",
"thumbnail": "http://marriage-1251225286.image.myqcloud.com/static/image/20171019/59e8471454e42901707882.jpeg/ys?imageView2/2/w/73/h/55",
"img": "http://img1.gtimg.com/henan/pics/hv1/90/64/2241/145737435.jpg",
"thumbnail": "http://img1.gtimg.com/henan/pics/hv1/90/64/2241/145737435.jpg",
"url": "http://www.baidu.com",
"sampleId": 3,
"id": 3,
"style": "呵呵",
"storeId": 1,
"storeName": "郑州艾维美婚纱摄影(国贸360店)",
Expand Down Expand Up @@ -81,6 +59,7 @@
"replies": 3,
"url": "http://www.wed114.cn/jiehun/hunpaigonglue/201706188014.html"
}
]
],
"guide_count": "3"
}
}
Loading

0 comments on commit c27aad8

Please sign in to comment.