- 请求格式说明
- 响应格式说明
- 影片管理
- 平台影院管理
- 商城
- 短信管理
- 公共接口
- 电视端API
- 晨星3
- 晨星4
- 1905系统
- 地面1905系统
- 影院信息管理
- 联营影院
- 小程序代码上传
- api接口
- 卡券管理
- 财务订单
- 自营接口
- 影厅设置
- 营销中心
- 凤凰佳影
- 凤凰云智
- 节假日数据
- 自营接口2.0
- 用户管理
- 影院用户管理
- 用户数据
- 平台配置信息管理
- 影院端
团购券列表
开发中
POST
http://store.xcyxfl.com/cinema/write_off/coupon-list
请求参数
Header 参数
Version
integer
可选
默认值:
1
Body 参数multipart/form-data
coupon_type
integer
必需
示例值:
1
code
string
团购券id
name
string
团购券名称
type
integer
项目类型id
limit_id
integer
消费限制id
start_time
string
创建开始时间
end_time
string
创建截止时间
page
string
页码
示例值:
1
limit
string
分页数量
示例值:
10
示例代码
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/write_off/coupon-list' \
--header 'Version: 1' \
--form 'coupon_type="1"' \
--form 'code=""' \
--form 'name=""' \
--form 'type=""' \
--form 'limit_id=""' \
--form 'start_time=""' \
--form 'end_time=""' \
--form 'page="1"' \
--form 'limit="10"'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
消息
data
object
返回数据
total
integer
总数
list
array [object {12}]
必需
voucher
integer
必需
示例
{
"code": 200,
"message": "success",
"data": {
"total": 5,
"list": [
{
"id": 27,
"coupon_id": "555",
"coupon_name": "次卡-555",
"type": 5,
"movie_id": "638",
"plan_id": "1452",
"num": 3,
"status": 1,
"consume_limit": "0",
"created_at": "2025-04-24 09:59:36",
"movie": [
"红猪"
],
"plan": [
"VIP"
]
},
{
"id": 26,
"coupon_id": "444",
"coupon_name": "多人套餐-444",
"type": 4,
"movie_id": "638",
"plan_id": "1452",
"num": 4,
"status": 1,
"consume_limit": "0",
"created_at": "2025-04-24 09:58:16",
"movie": [
"红猪"
],
"plan": [
"VIP"
]
},
{
"id": 25,
"coupon_id": "333",
"coupon_name": "单人套餐-333",
"type": 3,
"movie_id": "0",
"plan_id": "0",
"num": 1,
"status": 1,
"consume_limit": "0",
"created_at": "2025-04-24 09:57:24",
"movie": [
"全部"
],
"plan": [
"全部"
]
},
{
"id": 24,
"coupon_id": "222",
"coupon_name": " 多人券-222",
"type": 2,
"movie_id": "0",
"plan_id": "0",
"num": 2,
"status": 1,
"consume_limit": "0",
"created_at": "2025-04-24 09:56:29",
"movie": [
"全部"
],
"plan": [
"全部"
]
},
{
"id": 23,
"coupon_id": "111",
"coupon_name": "单人券-111",
"type": 1,
"movie_id": "0",
"plan_id": "0",
"num": 1,
"status": 1,
"consume_limit": "0",
"created_at": "2025-04-24 09:56:10",
"movie": [
"全部"
],
"plan": [
"全部"
]
}
],
"voucher": 1
}
}