开放平台
  1. GroupBuy
开放平台
  • 首页
  • App/H5对接流程:
  • API开放接口对接流程
  • 小程序对接流程v1.0
  • 数据推送说明
  • 基础信息
    • 获取接口访问令牌
      POST
    • 更改密码
      POST
    • 企业用户信息 v1.1
      GET
    • 获取会员token
      POST
  • 电影票接口
    • 电影票回调通知
    • 获取城市列表
      GET
    • 热映电影(pageIndex从0开始)
      GET
    • 即将上映电影
      GET
    • 获取影院列表
      GET
    • 获取影院过滤列表(获取城市影院品牌和区域信息)
      GET
    • 获取电影的影院列表
      GET
    • 获取电影详情
      GET
    • 获取影院某个电影的排片列表
      GET
    • 获取电影场次(座位)详情
      GET
    • 创建订单
      POST
    • 订单简要信息(字段较简洁,用于发起订单支付)
      GET
    • 支付订单(用户付款成功后调用)
      GET
    • 订单列表(管理)
      POST
    • 订单详情
      GET
    • 获取广告列表
      GET
  • 吃喝玩乐接口
    • GroupBuy
      • 城市列表
        GET
      • 商品列表
        POST
      • 商品详情
        GET
    • GroupBuyOrder
      • 下单(自己做产品展示,才需要下单接口)
      • 订单支付通知
      • 订单列表
      • 订单详情
      • 订单详情(管理)
  • 购物接口
    • FanLiOrder
      • 订单列表
      • 订单详情(管理)
  • 卡券接口
    • GiftCard
      • 卡券商品分类列表
      • 卡券商品列表
      • 商品详情
      • 下单(自己做产品展示,才需要下单接口)
      • 订单支付通知
      • 订单列表
      • 订单详情
      • 卡券商品按类别列表(共二级分类)
  • 点餐接口
    • 点餐回调通知
    • 城市列表
    • 平台店铺列表
    • 店铺详情,如果传了经纬度,返回距离
    • 菜单
    • 商品详情(不同品牌商品详情会有所不同)
    • 创建订单(不同品牌的商品详情下单的参数会有所不同)
    • 订单支付通知(用户付款成功后调用)
    • 订单列表
    • 订单详情
    • 订单上传文件列表
  • 礼金接口
    • PayCouponBind
      • 通过手机号发放优惠劵
  1. GroupBuy

商品详情

GET
/api/groupbuy/get_goods
GroupBuy

请求参数

Query 参数
id
string 
可选
lat
number 
可选
lon
number 
可选

返回响应

🟢200Success
application/json
Body
code
integer <int32>
code
可选
message
string  | null 
message
可选
data
object (GroupBuyGoodsDetail) 
可选
id
string <uuid>
可选
dealerId
string <uuid>
商家Id
可选
title
string  | null 
名称
可选
address
string  | null 
地址
可选
lat
number <double>
维度
可选
lon
number <double>
经度
可选
distance
number <double>
距离
可选
imageUrl
string  | null 
图片地址
可选
platformGoodsId
string  | null 
平台商品ID
可选
platformCityId
integer <int32>
平台城市ID
可选
cityId
integer <int32>
城市ID
可选
cityName
string  | null 
城市名称
可选
originPrice
number <double>
原票价单价
可选
price
number <double>
现价
可选
rebateMoney
number <double>
佣金
可选
salenum
integer <int32>
销售数量
可选
channelSalenum
integer <int32>
渠道销售数量
可选
beginTime
string <date-time>
开始时间
可选
endTime
string <date-time>
结束时间
可选
quantity
integer <int32>
库存
可选
totalQuantity
boolean 
总库存模式
可选
bookingShowAddress
boolean 
可选
是否需要填写配送地址
orderShowIdCard
boolean 
可选
是否需要填写身份证号
orderShowDate
boolean 
可选
是否需要填写使用日期
singleMin
integer <int32>
单次购买最小量
可选
singleMax
integer <int32>
单次购买最大量
可选
enable
boolean 
禁用
可选
disableShow
boolean 
屏蔽显示
可选
disableItems
string  | null 
可选
屏蔽套餐id列表,逗号隔开
createTime
string <date-time>
创建时间
可选
updateTime
string <date-time> | null 
更新时间
可选
platformId
enum<integer> <int32>
可选

11:LvHuaSuan;

12:LianLian;

13:QianZhuKFC;

14:QianQianHui;

15:MeiTuanCps;

16:Wxj;

17:YHDMDL;

18:DiDi;

19:GaoDe;

20:MHXBK;

21:MHNXDC;

22:HWXBK;

23:HWNXDC;

24:HWMDL;

25:HWRXKF;

26:HWXC;

27:HWKFC;

28:MHMDL;

29:MHKFC;
枚举值:
11121314151617181920212223242526272829
platformName
string  | null 
平台名称
可选
shops
array[object (GroupBuyShopDto) {13}]  | null 
可选
index
integer <int32>
排序
可选
bookingText
string  | null 
预约须知
可选
attention
string  | null 
订单注意事项
可选
htmlContent
string  | null 
订单详情
可选
posterUrl
string  | null 
海报图
可选
imageList
array[string] | null 
可选
skuItems
array[object (SkusItem) {22}]  | null 
可选
示例
{
  "code": 0,
  "message": "string",
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "dealerId": "9a3886aa-092e-48f1-a601-a186b7552a80",
    "title": "string",
    "address": "string",
    "lat": 0,
    "lon": 0,
    "distance": 0,
    "imageUrl": "string",
    "platformGoodsId": "string",
    "platformCityId": 0,
    "cityId": 0,
    "cityName": "string",
    "originPrice": 0,
    "price": 0,
    "rebateMoney": 0,
    "salenum": 0,
    "channelSalenum": 0,
    "beginTime": "2019-08-24T14:15:22Z",
    "endTime": "2019-08-24T14:15:22Z",
    "quantity": 0,
    "totalQuantity": true,
    "bookingShowAddress": true,
    "orderShowIdCard": true,
    "orderShowDate": true,
    "singleMin": 0,
    "singleMax": 0,
    "enable": true,
    "disableShow": true,
    "disableItems": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z",
    "platformId": 11,
    "platformName": "string",
    "shops": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "dealerId": "9a3886aa-092e-48f1-a601-a186b7552a80",
        "platformId": 11,
        "platformName": "string",
        "cityId": 0,
        "goodsId": "c36d38e0-002e-4252-a736-2d46359e3857",
        "name": "string",
        "address": "string",
        "phone": "string",
        "lat": 0,
        "lon": 0,
        "createTime": "2019-08-24T14:15:22Z",
        "distance": 0
      }
    ],
    "index": 0,
    "bookingText": "string",
    "attention": "string",
    "htmlContent": "string",
    "posterUrl": "string",
    "imageList": [
      "string"
    ],
    "skuItems": [
      {
        "quantity": 0,
        "price": 0,
        "oriPrice": 0,
        "text": "string",
        "sku_id": "string",
        "rebate_money": 0,
        "salenum": 0,
        "status": 0,
        "region_type": 0,
        "send_type": 0,
        "visitorInfoType": 0,
        "region_info_ids": "string",
        "availableBookTime": "string",
        "availableUseTime": "string",
        "bookingShowAddress": true,
        "orderShowIdCard": true,
        "orderShowDate": true,
        "singleMin": 0,
        "singleMax": 0,
        "beginTime": "2019-08-24T14:15:22Z",
        "endTime": "2019-08-24T14:15:22Z",
        "mealList": [
          {
            "name": "string",
            "detailList": [
              {
                "dishName": "string",
                "num": 0,
                "oriPrice": 0
              }
            ]
          }
        ]
      }
    ]
  }
}
上一页
商品列表
下一页
下单(自己做产品展示,才需要下单接口)
Built with