- 用户相关
- 视频相关
- 支付相关
- 系统操作
- 福利中心
- 内部调用
- 数据中心
- 调试工具
充值模板列表
开发中
GET
https://theater-test-api.sylangyue.xyz/api/payment/recharge-template
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://theater-test-api.sylangyue.xyz/api/payment/recharge-template'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
array [object {11}]
必需
id
integer
充值模版ID
name
string
模版名称
original_amount
string
必需
amount
integer
充值金额(单位:元)
day_amount
string
平均每天价格
series
integer
是否连续包月 1:是
number
integer
权益生效天数(单位:天)
third_product_id
string
必需
tag
string
标识
type
integer
类型:0 天 1 月
desc
string
必需
示例
{
"code": 200,
"msg": "请求成功",
"data": [
{
"id": 1,
"name": "连续包周",
"original_amount": "0.02",
"amount": 10,
"day_amount": "1.43",
"series": 1,
"number": 7,
"third_product_id": "baimajuchang.ios.test.vip.week",
"tag": "",
"desc": "到期按每周10元自动续费,可随时取消",
"type": 0
},
{
"id": 2,
"name": "周卡",
"original_amount": "0.03",
"amount": 15,
"day_amount": "2.14",
"series": 0,
"number": 7,
"third_product_id": "baimajuchang.ios.test.vip.week.no",
"tag": "",
"desc": "",
"type": 0
},
{
"id": 5,
"name": "连续包年",
"original_amount": "0",
"amount": 100,
"day_amount": "0.27",
"series": 1,
"number": 365,
"third_product_id": "baimajuchang.ios.test.vip.year",
"tag": "优惠",
"desc": "",
"type": 0
},
{
"id": 6,
"name": "包年",
"original_amount": "0",
"amount": 120,
"day_amount": "0.33",
"series": 0,
"number": 365,
"third_product_id": "baimajuchang.ios.test.vip.year.no",
"tag": "",
"desc": "",
"type": 0
}
]
}