支付方式列表
GET
/api/setting/payment/method请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
array [array]
必需
object
可选
示例
{
"code": 200,
"msg": "成功",
"data": [
[
{
"id": 1,
"name": "余额支付",
"icon": "http://127.0.0.1:8082/api/uploads/images/20230303/20230303185327.png",
"isDefault": 0,
"status": 1
},
{
"id": 2,
"name": "微信支付",
"icon": "http://127.0.0.1:8082/api/uploads/images/20230303/20230303185327.png",
"isDefault": 1,
"status": 1
}
],
[
{
"id": 3,
"name": "余额支付",
"icon": "http://127.0.0.1:8082/api/uploads/images/20230303/20230303185327.png",
"isDefault": 0,
"status": 1
},
{
"id": 4,
"name": "微信支付",
"icon": "http://127.0.0.1:8082/api/uploads/images/20230303/20230303185327.png",
"isDefault": 1,
"status": 1
}
],
[
{
"id": 5,
"name": "余额支付",
"icon": "http://127.0.0.1:8082/api/uploads/images/20230303/20230303185327.png",
"isDefault": 0,
"status": 1
},
{
"id": 6,
"name": "微信支付",
"icon": "http://127.0.0.1:8082/api/uploads/images/20230303/20230303185327.png",
"isDefault": 1,
"status": 1
}
]
]
}
最后修改时间: 2 年前