支付配置列表
开发中
GET
/adminapi/setting.pay.payConfig/lists
请求参数
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/lists' \
--header 'token: {{adminToken}}' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {6}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
array[string]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"pay_way_name": "微信支付",
"id": 1,
"name": "微信支付",
"pay_way": 2,
"icon": "http://www.php-ws.localhost/resource/image/adminapi/default/wechat_pay.png",
"sort": 0
},
{
"pay_way_name": "",
"id": 2,
"name": "支付宝支付",
"pay_way": 0,
"icon": "http://www.php-ws.localhost/resource/image/adminapi/default/alipay.png",
"sort": 0
}
],
"count": 2,
"page_no": 1,
"page_size": 25,
"extend": []
}
}
修改于 2023-11-30 06:29:02