设置充值套餐
开发中
POST
/adminapi/recharge.recharge/setConfig
请求参数
Body 参数application/json
status
integer
功能状态
rule
array [object {4}]
必需
name
string
套餐名称
money
string
充值金额
award
string
赠送金额
status
integer
状态
示例
{
"status": 0,
"rule": [
{
"name": "string",
"money": "string",
"award": "string",
"status": 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 '/adminapi/recharge.recharge/setConfig' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
array[string]
必需
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": [
"string"
]
}
修改于 2025-02-27 10:18:22