- 后台接口
- 前台接口
- AI对话
- AI行业
- 问答拆分
- 上传接口
- 登录注册
- 其它配置
- 应用分享
- 充值套餐
- 用户管理
- 机器人管理
- 机器人发布
- 知识库提问
- 知识库数据
- 知识库管理
- 数字人
- 【新】后台接口
- 【新】前台接口
支付方式列表
开发中
GET
/adminapi/setting.pay.payWay/getPayWay
请求参数
Header 参数
token
string
可选
示例值:
{{admin-token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/setting.pay.payWay/getPayWay' \
--header 'token: {{admin-token}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
1
array [object {6}]
必需
2
array [object {6}]
必需
3
array [object {6}]
必需
4
array [object {6}]
必需
示例
{
"code": 1,
"show": 0,
"msg": "获取成功",
"data": {
"1": [
{
"id": 3,
"pay_config_id": 1,
"scene": 1,
"is_default": 1,
"status": 1,
"icon": "http://www.php-kl.localhost/resource/image/adminapi/pay/wechatpay.png"
}
],
"2": [
{
"id": 4,
"pay_config_id": 1,
"scene": 2,
"is_default": 1,
"status": 1,
"icon": "http://www.php-kl.localhost/resource/image/adminapi/pay/wechatpay.png"
},
{
"id": 9,
"pay_config_id": 2,
"scene": 2,
"is_default": 0,
"status": 1,
"icon": "http://www.php-kl.localhost/resource/image/adminapi/pay/alipay.jpg"
}
],
"3": [
{
"id": 10,
"pay_config_id": 1,
"scene": 3,
"is_default": 1,
"status": 1,
"icon": "http://www.php-kl.localhost/resource/image/adminapi/pay/wechatpay.png"
},
{
"id": 11,
"pay_config_id": 2,
"scene": 3,
"is_default": 0,
"status": 1,
"icon": "http://www.php-kl.localhost/resource/image/adminapi/pay/alipay.jpg"
}
],
"4": [
{
"id": 7,
"pay_config_id": 1,
"scene": 4,
"is_default": 1,
"status": 1,
"icon": "http://www.php-kl.localhost/resource/image/adminapi/pay/wechatpay.png"
},
{
"id": 8,
"pay_config_id": 2,
"scene": 4,
"is_default": 0,
"status": 1,
"icon": "http://www.php-kl.localhost/resource/image/adminapi/pay/alipay.jpg"
}
]
}
}
修改于 2023-10-08 09:34:00