支付方式
开发中
GET
/api/pay/payWay
请求参数
Query 参数
from
string
可选
示例值:
order
Header 参数
token
string
可选
示例值:
{{apiToken}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/pay/payWay?from=order' \
--header 'token: {{apiToken}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {8}]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 2,
"name": "微信支付",
"pay_way": 2,
"icon": "http://www.php-ws.localhost/resource/image/adminapi/default/pay_wechat.png",
"sort": 0,
"remark": "微信支付",
"is_default": 1,
"extra": "微信快捷支付"
},
{
"id": 3,
"name": "支付宝支付",
"pay_way": 3,
"icon": "http://www.php-ws.localhost/resource/image/adminapi/default/pay_alipay.png",
"sort": 0,
"remark": "支付宝支付",
"is_default": 0,
"extra": "支付宝快捷支付"
}
]
}
}
修改于 2024-03-11 02:22:00