🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 获取支付方式 **请求URL:** - `/adminapi/settings.pay.pay_way/getPayWay` **请求方式:** - GET **参数说明:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | **返回示例** ``` { "code": 1, "show": 0, "msg": "获取成功", "data": { "1": [ { "id": 1, "scene": 1, "dev_pay_id": 1, "is_default": 0, "status": 0, "pay_way_name": "余额支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 2, "scene": 1, "dev_pay_id": 2, "is_default": 1, "status": 0, "pay_way_name": "微信支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 3, "scene": 1, "dev_pay_id": 3, "is_default": 0, "status": 1, "pay_way_name": "支付宝支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" } ], "2": [ { "id": 4, "scene": 2, "dev_pay_id": 1, "is_default": 1, "status": 1, "pay_way_name": "余额支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 5, "scene": 2, "dev_pay_id": 2, "is_default": 0, "status": 1, "pay_way_name": "微信支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" } ], "3": [ { "id": 6, "scene": 3, "dev_pay_id": 1, "is_default": 1, "status": 1, "pay_way_name": "余额支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 7, "scene": 3, "dev_pay_id": 2, "is_default": 0, "status": 1, "pay_way_name": "微信支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" } ], "4": [ { "id": 8, "scene": 4, "dev_pay_id": 1, "is_default": 1, "status": 1, "pay_way_name": "余额支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 9, "scene": 4, "dev_pay_id": 2, "is_default": 0, "status": 1, "pay_way_name": "微信支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 10, "scene": 4, "dev_pay_id": 3, "is_default": 0, "status": 1, "pay_way_name": "支付宝支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" } ], "5": [ { "id": 11, "scene": 5, "dev_pay_id": 1, "is_default": 1, "status": 1, "pay_way_name": "余额支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 12, "scene": 5, "dev_pay_id": 2, "is_default": 0, "status": 1, "pay_way_name": "微信支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 13, "scene": 5, "dev_pay_id": 3, "is_default": 0, "status": 1, "pay_way_name": "支付宝支付", "icon": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" } ] } } ``` **返回参数说明:** |参数名 |类型 |说明 | |:--| |scene |int |场景:1-H5;2-微信公众号;3-微信小程序;4-APP;5-PC商城; | |is_default |string |是否默认支付:0-否;1-是; | |status |string |状态:0-关闭;1-开启; | |pay_way_name |string |支付方式名称 | |icon |string |图标 |