简要描述:

  • 获取项目详情

请求URL:

GET/plugin.store-projects.frontend.project.get-detail

参数:

参数名 是否必须 类型 说明
lng float 经度
lat float 纬度
project_id int 项目ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "project": {
            "id": 3,
            "uniacid": 2,
            "title": "测试项目3",
            "thumb": "https://localhost:82/attachment/image/5f3d6b80fbf44ea3ae709805acc1fdaa.png",
            "banner_imgs": [
                "http://localhost:82/attachment/images/2/2019/07/xJw4iK3jwXil6vW1SwW6B9S4lGjwSG.jpg",
                "http://localhost:82/attachment/images/2/2019/07/D99yd9gk8ZdxyKJ8IJI9mxKd9M3KOg.jpg"
            ],
            "store_ids": "3,5",
            "description": "",
            "content": ""
        },
        "goods": [
            {
                "id": 352,
                "title": "111",
                "thumb": "http://localhost:82/attachment/image/5f3d6b80fbf44ea3ae709805acc1fdaa.png",
                "market_price": "10.00",
                "price": "10.00",
                "show_sales": 11,
                "virtual_sales": 11,
                "status_name": null
            }
        ],
        "store": [
            {
                "id": 5,
                "store_name": "芸众商城门店",
                "thumb": "https://wx.qlogo.cn/mmopen/9M0PhLTmTIfg9jKoeUWscJnEre7w6L5GJENQyWcv8yMqmnD1ic1BPLRQ10jaaJb35geqwVPCibmXiaqXJMKXpFibicFLaO8gKMeGB/0",
                "business_hours_start": "13:05",
                "business_hours_end": "20:40",
                "store_distance": 1008.2,
                "store_distance_unit": "km",
                "full_address": "广东省 广州市 广州市 百信广场"
            },
            {
                "id": 3,
                "store_name": "门店1",
                "thumb": "images/2/2017/10/X0vxO7w67l7h0435i777Xi7Hs3i770.png",
                "business_hours_start": "00:00",
                "business_hours_end": "18:30",
                "store_distance": 1008.6,
                "store_distance_unit": "km",
                "full_address": "广东省 广州市 广州市 新市百信广场"
            }
        ]
    }
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
projects obj 项目信息
projects->id int 项目ID
projects->title string 项目标题
projects->thumb string 项目缩略图
projects->banner_imgs Array 项目详情页banner图
projects->description string 项目描述
projects->content string 项目详情
goods obj 商品信息
goods->id int 商品ID
goods->title string 商品名称
goods->thumb string 商品缩略图
goods->market_price float 商品原价
goods->price float 商品价格
goods->show_sales int 商品销量
store obj 技师所属门店信息
store->id int 门店id
store->store_name string 门店名称
store->thumb string 门店缩略图
store->business_hours_start string 门店营业时间开始
store->business_hours_end string 门店营业时间结束
store->store_type int 商户类型:1-门店;2-酒店
store->store_distance float 门店距离
store->store_distance_unit string 门店距离单位
store->full_address string 门店地址

备注:

  • 更多返回错误代码请看首页的错误代码描述