POST/plugin.big-brand-ordering.api.cart.index

传入参数说明:

参数名 类型 说明
store_code string 门店代号
brand string 品牌代号 从品牌列表里获取
order_type int 订单类型 1 自提 2 外卖

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": [
        {
            "id": 12,
            "uniacid": 1,
            "brand": "kfc",
            "store_code": "GHS001",
            "amount": 1,
            "selected": "[{\"linkId\":\"3431\",\"childLinkId\":\"\",\"quantity\":1,\"condimentItems\":[{\"condimentLinkId\":\"\",\"linkId\":\"19911\",\"quantity\":1},{\"condimentLinkId\":\"null_1\",\"linkId\":\"100082933\",\"quantity\":1},{\"condimentLinkId\":\"null_2\",\"linkId\":\"100018884\",\"quantity\":1},{\"condimentLinkId\":\"null_3\",\"linkId\":\"100000203\",\"quantity\":1},{\"condimentLinkId\":\"null_4\",\"linkId\":\"100082045\",\"quantity\":1}]}]",
            "created_at": "2026-04-01 19:55:53",
            "updated_at": "2026-04-01 19:55:53",
            "member_id": 1,
            "thumb": "https://image.quanma51.com/self/mahua/kfc/menu/24aedc51c0774a099068aad2d53f6e86!img",
            "price": "45.33",
            "option": [
                {
                    "title": "黄金鸡块BBN(5块)",
                    "num": 1
                },
                {
                    "title": "黄金SPA鸡排堡BBN(藤椒风味)",
                    "num": 1
                },
                {
                    "title": "热辣香骨鸡BBN(3块)",
                    "num": 1
                },
                {
                    "title": "薯条(小)",
                    "num": 1
                },
                {
                    "title": "爆汁三柠茶BBN(中)",
                    "num": 1
                }
            ],
            "title": "汉堡小食5件套(任选)",
            "order_type": null
        }
    ]
}

错误时返回:

  {
    "errcode": 500,
    "errmsg": "invalid appid"
  }

返回参数说明:

参数名 类型 说明
id string 购物车id
store_code string 门店代号
amount string 商品数量
thumb string 商品图片
price string 商品价格
option string 套餐内容
order_type int 订单类型 1 自提 2 外卖