🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 获取支付方式 >[info] ## 请求地址:[https://你的域名/api/pay/{way}](https://xn--6qqv7i2xdt95b/api/pay/%7Bway%7D) 地址参数: | 字段 | 名称 | 说明 | | --- | --- | --- | | way | 支付方式 | 支付方式alias,如 wechat,alipay | 请求方法:GET 请求数据: | 字段 | 名称 | 说明 | | --- | --- | --- | | order\_id | 订单号 | | 返回数据:根据不同支付方式返回数据 请求示例: ``` request({ url: "https://demo.bottlecms.com/api/pay/wechat", method: "GET", data: { order_id:"202101340023103", }, success: (res) => { if(res.code==200){ //返回成功 console.log(res.obj); } } }); ``` 返回示例: ``` { "success":true, "code":200, "msg":"获取成功", "obj":{ } } ```