- 必须先读
- Ajax编程_V7.6大纲配套
- 数据可视化
- Vue基础
- Vue_大事件
- 黑马头条号
- 极客园_PC
- 极客园(黑马头条)_移动端
- 人资项目
- 小兔鲜电商
- 小程序基础
- 小程序项目
- layui_大事件
- 品优购电商后台
- 其他可用接口
获取-商铺列表
GET
/categories/{cate_id}/shops
注意2: 参数前面有下划线
请求参数
Path 参数
cate_id
string
分类id
示例值:
4
Query 参数
_page
string
需要第几页数据
示例值:
1
_limit
string
可选
示例值:
5
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://applet-base-api-t.itheima.net/categories/4/shops'
返回响应
🟢200成功
application/json
Body
array of:
id
integer
必需
name
string
必需
phone
string
必需
address
string
必需
images
array[string]
必需
score
string | null
必需
tags
array[string]
必需
comments
array [object {5}]
必需
name
string | null
必需
date
string | null
必需
content
string
必需
rating
string | null
必需
images
array[string]
必需
businessHours
string
必需
supportService
string
必需
introduction
string
必需
link
string
必需
categoryId
integer
必需
示例
[ { "id": 15, "name": "音酷时尚KTV", "phone": "0317-2017966/2198766", "address": "新华区新华中路华北商厦九楼", "images": [ "http://p1.meituan.net/deal/e88ba85680b52985e69a7d8f2116365072007.jpg", "http://p0.meituan.net/deal/914b5222b076196a6028830097114d04100173.jpg", "http://p1.meituan.net/deal/02a6261450de090bcffe44f5fe57defa82423.jpg", "http://p1.meituan.net/deal/38eceb506ff6bcd96864b3497f502517126778.jpg", "http://p0.meituan.net/deal/3914e20b24831bd334675c1b9df954b2103568.jpg", "http://p1.meituan.net/deal/efdf82ae80d51e7cbb5ede5da1030e4991548.jpg", "http://p0.meituan.net/deal/bfcdaded323af6b857cc58b4c9ede279110733.jpg", "http://p0.meituan.net/deal/c9eb19b5ddbb3336261be7398503ed23101228.jpg", "http://p0.meituan.net/deal/cba5f81a2f161eaacf65a70ee454ecf390838.jpg", "http://p1.meituan.net/deal/19f1fcf8bf908d6face7fff3f053d19775989.jpg", "http://p1.meituan.net/shaitu/6b6406147afc481b62cead22c227cce139198.jpg", "http://p0.meituan.net/deal/d3b9f72066f62da5ca1a31a54c963779455679.jpg", "http://p0.meituan.net/deal/f70ce07c1e0c5178528b19fa53344386406012.jpg", "http://p1.meituan.net/deal/53bf56805ff174dbf7357cb871cda41b397695.jpg", "http://p0.meituan.net/deal/d98421b29acd255dd9176cda47123868421484.jpg", "http://p1.meituan.net/deal/ee6c1869625699239fdba67bd0695b76441424.jpg", "http://p0.meituan.net/deal/a0d076563ea5e14eee52f4ed23e276b9336222.jpg", "http://p0.meituan.net/deal/383a33145faa5cc6b165dd52856fed5f403602.jpg", "http://p1.meituan.net/deal/7efc5cd7c3ccb1cc4a6c9ba4726b55b5373385.jpg", "http://p1.meituan.net/deal/925c32eda3f0ae930423f0bf7d2845ef416216.jpg", "http://p0.meituan.net/deal/ede6443094325387d11002a4d5f99005427110.jpg", "http://p1.meituan.net/deal/9ada7997e59f15839fb0dbc2d2cf3c6c439707.jpg", "http://p0.meituan.net/deal/70f252668a15ab3e82c282d9113905b1376462.jpg", "http://p1.meituan.net/deal/15044b547a1c73e32e8f7c7d3fdf603f425524.jpg", "http://p1.meituan.net/deal/856a2d48b825344a4bb669437f0efc03372434.jpg", "http://p0.meituan.net/deal/be5ce7c97584ddf247d02cb1f09d525d429905.jpg", "http://p1.meituan.net/deal/6cc1408a51c1989997ed336a1a438930419579.jpg", "http://p1.meituan.net/deal/c36b191586fce61b826a401a7ad82885380277.jpg", "http://p1.meituan.net/deal/44b4d434cccea105eef500f7a5aede6a364286.jpg", "http://p0.meituan.net/deal/f1ad8c3aace8537ce1af3e3ebe93fac3424264.jpg", "http://p0.meituan.net/deal/d7fc268af66ffe69c0c5fff71488d9c3362754.jpg", "http://p1.meituan.net/deal/77a68c20144ba610c6ca92b257b7a3d5397113.jpg", "http://p1.meituan.net/deal/2ec8dab8666fdc6956458b255e2b1cea450157.jpg", "http://p0.meituan.net/deal/a7b86b29da3cc444c87325f61aa2d464397825.jpg", "http://p1.meituan.net/deal/c25bc611b90889ea5b7ddd0627be3aa7503889.jpg", "http://p1.meituan.net/deal/2fa19f351adce043c4e4ffbe785ef429391283.jpg", "http://p1.meituan.net/deal/cb507d4fbad5feb16b9c6cb92e0e10a0465991.jpg", "http://p1.meituan.net/deal/177a20a001c0bf6679102411e67b5515354523.jpg" ], "score": "80", "tags": [ "KTV" ], "comments": [ { "name": "杨乖巧", "date": "2017-02-11", "content": "环境还不错,胜在位置优越,吃完饭直接上来玩儿了,不过好多歌都没有,还有好多明明点了却不能唱,再加油吧", "rating": "100%", "images": [ "http://p0.meituan.net/w.h/shaitu/65c317fea84af7385f1c4662ad1b778d171984.jpg" ] }, { "name": "ZnU102323645", "date": "2017-05-30", "content": "美团上写的明明是到两点,可去了以后说到十一点半就关门下班,包间卫生还特别差,就跟别人刚走一样,而且服务员的态度还特别差,去那真是找气受,真心给不了好评", "rating": "20%", "images": [ "http://p0.meituan.net/w.h/shaitu/f1ff9b4e1b8d95b654b0f931fa3dd509133288.jpg", "http://p0.meituan.net/w.h/shaitu/22a0e94dbe51450ae3f7fd6af065335065389.jpg", "http://p0.meituan.net/w.h/shaitu/6167a7007299aab205c10ff4dcd385df71107.jpg", "http://p1.meituan.net/w.h/shaitu/56194751173965c547008ccbef4c804273581.jpg", "http://p0.meituan.net/w.h/shaitu/5d7337bdc02f045d3b885be1e7be83d268011.jpg" ] }, { "name": "E***1", "date": "2017-06-08", "content": "特别差劲,以前和单位同事去过,但是是同事负责我不管,这次和大家去,也是因为我们看完电影直接过去比较近,9点半去,让我们11点走,团上写的2点,这都不重要,重要的是前边男服务生态度特别差劲。看那样是他哥们儿找他去玩,我们去了耽误他关门去自己去玩,那你别上班了更自由,拉个死人脸给谁看,什么鬼态度。和他哥们说他老板是老女人,让我们等着,他上楼叫那个老女人去。真神奇了,我们单位同事是不会再去这地方了。从来不给差评,这次因为服务生,真的前所未有的差劲。", "rating": "20%",
修改于 2022-07-05 08:13:11