ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**简要描述:** - 获取店铺信息 **请求URL:** - ` /api/shop/getShopInfo ` **请求方式:** - GET **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |shop_id |是 |int |店铺id | **返回示例** ``` { "code": 1, "show": 0, "msg": "获取店铺信息成功", "data": { "id": 1, "name": "一号店", "logo": "", "background": "", "type": 2, "type_desc": "入驻商家", "score": 0, "star": 0, "intro": "", "visited_num": 0, "on_sale_count": 3, "goods_list": [ { "id": 22, "image": "http://www.likeshopb2b2c.localhost/uploads/images/202104281813584bb6b7582.jpg", "name": "商品1-0", "min_price": "3.00", "market_price": "3.00" }, { "id": 32, "image": "http://www.likeshopb2b2c.localhost/uploads/images/202104281813584bb6b7582.jpg", "name": "测试商品999", "min_price": "10.00", "market_price": "50.00" } ], "shop_follow_status": 0 } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |score |float |店铺评分 | |intro |string |店铺简介 | |star |int |店铺星级 | |on_sale_count |int |在售商品数量 | |visited_num |int |进店人数 | |goods_list |array |店铺推荐商品,最多返回9个 | |shop_follow_status |int |用户是否关注店铺 0-未关注 1-已关注 |