支付配置详情
开发中
GET
/adminapi/setting.pay.payConfig/getConfig
请求参数
Query 参数
id
integer
可选
示例值:
2
Header 参数
token
string
可选
示例值:
{{adminToken}}
示例代码
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.payConfig/getConfig?id=2' \
--header 'token: {{adminToken}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
name
string
必需
pay_way
integer
必需
config
object
必需
icon
string
必需
sort
integer
必需
remark
string
必需
domain
string
必需
示例
{
"code": 1,
"show": 0,
"msg": "获取成功",
"data": {
"id": 2,
"name": "微信支付",
"pay_way": 2,
"config": {
"interface_version": "v3",
"merchant_type": "ordinary_merchant",
"mch_id": "",
"pay_sign_key": "",
"apiclient_cert": "",
"apiclient_key": ""
},
"icon": "http://www.php-ws.localhost/resource/image/adminapi/default/wechat_pay.png",
"remark": "微信支付",
"sort": 0,
"domain": "http://www.php-ws.localhost"
}
}
修改于 2025-02-27 10:18:22