- 请求格式说明
- 响应格式说明
- 影片管理
- 平台影院管理
- 商城
- 短信管理
- 公共接口
- 电视端API
- 晨星3
- 晨星4
- 1905系统
- 地面1905系统
- 影院信息管理
- 联营影院
- 小程序代码上传
- api接口
- 卡券管理
- 财务订单
- 自营接口
- 影厅设置
- 营销中心
- 凤凰佳影
- 凤凰云智
- 节假日数据
- 自营接口2.0
- 用户管理
- 影院用户管理
- 用户数据
- 平台配置信息管理
- 影院端
办卡充值汇总数据
开发中
POST
http://store.xcyxfl.com/cinema/finance/card-form-data
责任人:唐得才
请求参数
Header 参数
Version
integer
可选
默认值:
1
Body 参数multipart/form-data
type
integer
可选
示例值:
2
platform
integer
可选
示例值:
星巴克
register_cinema
string
办卡影院
示例值:
奎屯美美影城
serial_num
string
售票系统订单号
示例值:
2524383413063149
method
integer
可选
示例值:
1
status
integer
可选
示例值:
1
category_id
integer
卡类id
示例值:
1
create_start_time
string
消费开始时间
示例值:
2024-07-02 10:05:13
create_end_time
string
消费截止时间
示例值:
{% mock 'now' %}
mobile
string
会员卡手机号
示例值:
{% mock 'phone' %}
card_no
string
会员卡号
示例值:
101800973
card_username
string
会员卡用户名
示例值:
张三
handler
integer
手持端账号id
示例值:
1
order_no
string
订单号
示例值:
2524383413063149
is_export
integer
必需
示例值:
0
示例代码
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/finance/card-form-data' \
--header 'Version: 1' \
--form 'type="2"' \
--form 'platform="星巴克"' \
--form 'register_cinema="奎屯美美影城"' \
--form 'serial_num="2524383413063149"' \
--form 'method="1"' \
--form 'status="1"' \
--form 'category_id="1"' \
--form 'create_start_time="2024-07-02 10:05:13"' \
--form 'create_end_time="{% mock '\''now'\'' %}"' \
--form 'mobile="{% mock '\''phone'\'' %}"' \
--form 'card_no="101800973"' \
--form 'card_username="张三"' \
--form 'handler="1"' \
--form 'order_no="2524383413063149"' \
--form 'is_export="0"'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
返回信息
data
object
返回数据
list
array [object {9}]
列表数据
handler
array [object {2}]
必需
tatal_data
object
必需
示例
{
"code": 200,
"message": "success",
"data": {
"handler": [
{
"id": 43,
"name": "张美丽"
}
],
"tatal_data": {
"applet_num": 9,
"applet_money": "0.85",
"total_num": 40,
"total_money": "5938.29",
"count": {
"43": {
"num": 30,
"cash": "5937.23",
"applet_money": "0.01"
}
}
},
"list": [
{
"type": 2,
"card_category_id": 47,
"category_name": "Satan",
"order_type": 1,
"applet_num": 3,
"applet_money": "0.03",
"total_num": 10,
"total_money": "600.04",
"43": {
"num": 7,
"cash": "600.00",
"applet_money": "0.01"
}
},
{
"type": 2,
"card_category_id": 49,
"category_name": "金卡",
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 4,
"total_money": "604.00",
"43": {
"num": 4,
"cash": "604.00",
"applet_money": "0"
}
},
{
"type": 2,
"card_category_id": 52,
"category_name": "商品折扣",
"order_type": 1,
"applet_num": 5,
"applet_money": "0.81",
"total_num": 7,
"total_money": "1.21",
"43": {
"num": 1,
"cash": "0.20",
"applet_money": "0"
}
},
{
"type": 2,
"card_category_id": 53,
"category_name": "测试商品",
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 5,
"total_money": "500.00",
"43": {
"num": 5,
"cash": "500.00",
"applet_money": "0"
}
},
{
"type": 2,
"card_category_id": 54,
"category_name": "测试默认商品",
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 1,
"total_money": "100.00",
"43": {
"num": 1,
"cash": "100.00",
"applet_money": "0"
}
},
{
"type": 2,
"card_category_id": 57,
"category_name": "高级会员",
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 2,
"total_money": "400.00",
"43": {
"num": 2,
"cash": "400.00",
"applet_money": "0"
}
},
{
"type": 2,
"card_category_id": 363,
"category_name": "新的会员卡",
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 2,
"total_money": "833.00",
"43": {
"num": 2,
"cash": "833.00",
"applet_money": "0"
}
},
{
"type": 2,
"card_category_id": 364,
"category_name": "黄金至尊卡",
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 2,
"total_money": "2000.00",
"43": {
"num": 2,
"cash": "2000.00",
"applet_money": "0"
}
},
{
"type": null,
"card_category_id": 48,
"category_name": null,
"order_type": 1,
"applet_num": 1,
"applet_money": "0.01",
"total_num": 3,
"total_money": "300.02",
"43": {
"num": 2,
"cash": "300.01",
"applet_money": "0"
}
},
{
"type": null,
"card_category_id": 55,
"category_name": null,
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 3,
"total_money": "600.01",
"43": {
"num": 3,
"cash": "600.01",
"applet_money": "0"
}
},
{
"type": null,
"card_category_id": 58,
"category_name": null,
"order_type": 1,
"applet_num": 0,
"applet_money": 0,
"total_num": 1,
"total_money": "0.01",
"43": {
"num": 1,
"cash": "0.01",
"applet_money": "0"
}
}
]
}
}