- 请求格式说明
- 响应格式说明
- 影片管理
- 平台影院管理
- 商城
- 短信管理
- 公共接口
- 电视端API
- 晨星3
- 晨星4
- 1905系统
- 地面1905系统
- 影院信息管理
- 联营影院
- 小程序代码上传
- api接口
- 卡券管理
- 财务订单
- 自营接口
- 影厅设置
- 营销中心
- 凤凰佳影
- 凤凰云智
- 节假日数据
- 自营接口2.0
- 用户管理
- 影院用户管理
- 用户数据
- 平台配置信息管理
- 影院端
商品详情
开发中
POST
http://store.xcyxfl.com/cinema/goods/goods-detail
责任人:唐得才
请求参数
Header 参数
AccessToken
string
必需
示例值:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJodHRwOi8vc3RvcmUueGN5eGZsLmNvbS9hdXRoL2xvZ2luIiwiaWF0IjoxNjg0MjI3ODk3LCJleHAiOjE2ODQyMzE0OTcsIm5iZiI6MTY4NDIyNzg5NywianRpIjoiNkJDb0pMcHlVc1NuNUNaVCIsInN1YiI6IjEwMyIsInBydiI6IjliMjYzZmVjYTI3MDRlMTBmYTYxZWQzMTA0MWViNWI3ZDczYWE5ZTMiLCJpZCI6MTAzLCJ0eXBlIjozLCJ1c2VybmFtZSI6IjEyMzQ1NiIsIm5pY2tuYW1lIjoiU2F0YW4iLCJyb2xlX2lkIjowLCJzdG9yZV9pZCI6NTIsInVzZXJfaWQiOjEwMywicm9sZV9pZHMiOiIifQ.hvBNK4RWvpZFNwTjGm6wZ0D0C9-gHAMdmviNJd_xEIoJQiUdIVzrH24hQ4E6SJs9BP69y3sE5t4FYrsRE7oLFg
Version
integer
可选
默认值:
1
Body 参数multipart/form-data
id
integer
可选
示例值:
34
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://store.xcyxfl.com/cinema/goods/goods-detail' \
--header 'AccessToken: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJodHRwOi8vc3RvcmUueGN5eGZsLmNvbS9hdXRoL2xvZ2luIiwiaWF0IjoxNjg0MjI3ODk3LCJleHAiOjE2ODQyMzE0OTcsIm5iZiI6MTY4NDIyNzg5NywianRpIjoiNkJDb0pMcHlVc1NuNUNaVCIsInN1YiI6IjEwMyIsInBydiI6IjliMjYzZmVjYTI3MDRlMTBmYTYxZWQzMTA0MWViNWI3ZDczYWE5ZTMiLCJpZCI6MTAzLCJ0eXBlIjozLCJ1c2VybmFtZSI6IjEyMzQ1NiIsIm5pY2tuYW1lIjoiU2F0YW4iLCJyb2xlX2lkIjowLCJzdG9yZV9pZCI6NTIsInVzZXJfaWQiOjEwMywicm9sZV9pZHMiOiIifQ.hvBNK4RWvpZFNwTjGm6wZ0D0C9-gHAMdmviNJd_xEIoJQiUdIVzrH24hQ4E6SJs9BP69y3sE5t4FYrsRE7oLFg' \
--header 'Version: 1' \
--form 'id="34"'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
消息
data
object
返回的数据
id
integer
必需
name
string
必需
number
string
必需
type
integer
必需
merchant
integer
必需
shelt_goods_type_id
integer
必需
price
string
必需
line_price
string
必需
discount_type
integer
必需
discount_value
array [object {5}]
必需
tag
integer
必需
close_time
integer
必需
verify_time
integer
必需
sort
integer
必需
logo
string
必需
introduce
string
必需
limit_buy
integer
必需
gift_coupon_status
integer
必需
hand_receipt
integer
必需
sale_price
string
必需
spec
integer
商品规格(1多规格,单规格)
stock
integer
库存
shelf
integer
必需
is_package
integer
必需
package_info
array[string]
套餐信息
gift
array[string]
必需
spec_list
array [object {3}]
必需
sku_list
array [object {10}]
必需
category_goods
array [object {3}]
分类卖品信息
示例
{
"code": 200,
"message": "success",
"data": {
"id": 26,
"name": "爆米花",
"number": "",
"type": 0,
"merchant": 42,
"shelt_goods_type_id": 50,
"price": "0.10",
"line_price": "45.00",
"discount_type": 1,
"discount_value": [
{
"id": 47,
"name": "Satan",
"code": "001",
"type": 2,
"discount": 75
},
{
"id": 49,
"name": "金卡111",
"code": "212121",
"type": 2,
"discount": 90
},
{
"id": 52,
"name": "商品折扣",
"code": "84654656",
"type": 2,
"discount": 80
},
{
"id": 53,
"name": "测试商品",
"code": "788998",
"type": 2,
"discount": 80
},
{
"id": 54,
"name": "测试默认商品",
"code": "3216556",
"type": 2,
"discount": 60
},
{
"id": 57,
"name": "高级会员",
"code": "10011",
"type": 2,
"discount": 9
},
{
"id": 217,
"name": "1",
"code": "11111",
"type": 2,
"discount": 1
},
{
"id": 363,
"name": "新的会员卡",
"code": "1192121",
"type": 2,
"discount": 98
},
{
"id": 364,
"name": "黄金至尊卡",
"code": "HJYCZZK",
"type": 2,
"discount": 5
},
{
"id": 706,
"name": "金卡",
"code": "924712430407966720",
"type": 2,
"discount": 0
},
{
"id": 775,
"name": "718",
"code": "718",
"type": 2,
"discount": 8
},
{
"id": 916,
"name": "测试价格 ",
"code": "888",
"type": 2,
"discount": 100
}
],
"tag": 1,
"close_time": 0,
"verify_time": 8,
"sort": 9,
"logo": "https://cinema-media.oss-cn-chengdu.aliyuncs.com/image/EWjJXayHGhtXRpBZbJCM8AKsKFb5CbjM.jpg",
"introduce": "爆米花",
"limit_buy": 1,
"gift_coupon_status": 1,
"hand_receipt": 1,
"sale_price": "0.00",
"spec": 1,
"stock": 0,
"shelf": 1,
"is_package": 0,
"package_info": [],
"gift": [],
"spec_list": [
{
"type_id": 1,
"name": "规格",
"value": [
{
"value_id": 71,
"value": "大桶"
},
{
"value_id": 72,
"value": "中桶"
}
]
},
{
"type_id": 9,
"name": "温度",
"value": [
{
"value_id": 85,
"value": "热"
},
{
"value_id": 33,
"value": "常温"
}
]
},
{
"type_id": 4,
"name": "颜色",
"value": [
{
"value_id": 86,
"value": "红"
}
]
}
],
"sku_list": [
{
"id": 1066,
"shelf_goods_id": 26,
"is_default": 1,
"goods_sku_id": "71_85_86",
"price": "0.10",
"integral": 0,
"stock": 753,
"sale": 11,
"specification": "大桶/热/红",
"sku_value": [
"大桶",
"热",
"红"
]
},
{
"id": 1067,
"shelf_goods_id": 26,
"is_default": 0,
"goods_sku_id": "71_33_86",
"price": "0.10",
"integral": 0,
"stock": 8996,
"sale": 3,
"specification": "大桶/常温/红",
"sku_value": [
"大桶",
"常温",
"红"
]
},
{
"id": 1068,
"shelf_goods_id": 26,
"is_default": 0,
"goods_sku_id": "72_85_86",
"price": "0.10",
"integral": 0,
"stock": 8997,
"sale": 1,
"specification": "中桶/热/红",
"sku_value": [
"中桶",
"热",
"红"
]
},
{
"id": 1069,
"shelf_goods_id": 26,
"is_default": 0,
"goods_sku_id": "72_33_86",
"price": "0.10",
"integral": 0,
"stock": 8994,
"sale": 2,
"specification": "中桶/常温/红",
"sku_value": [
"中桶",
"常温",
"红"
]
}
],
"category_goods": [
{
"id": 30,
"name": "餐饮",
"goods": [
{
"id": 27,
"shelt_goods_type_id": 30,
"name": "送票",
"station_name": ""
},
{
"id": 38,
"shelt_goods_type_id": 30,
"name": "900",
"station_name": ""
},
{
"id": 39,
"shelt_goods_type_id": 30,
"name": "测试手持端收款2",
"station_name": ""
},
{
"id": 143,
"shelt_goods_type_id": 30,
"name": "中瓶-狗子",
"station_name": ""
},
{
"id": 144,
"shelt_goods_type_id": 30,
"name": "小瓶-狗子",
"station_name": ""
}
]
},
{
"id": 50,
"name": "爆米花",
"goods": [
{
"id": 26,
"shelt_goods_type_id": 50,
"name": "爆米花",
"station_name": ""
}
]
},
{
"id": 51,
"name": "饮品",
"goods": [
{
"id": 145,
"shelt_goods_type_id": 51,
"name": "迷你-狗子",
"station_name": ""
}
]
},
{
"id": 52,
"name": "超值套餐",
"goods": []
},
{
"id": 53,
"name": "测试",
"goods": []
}
]
}
}