提交 5a235a54 authored 作者: lihuihui's avatar lihuihui

修改支付

上级 03b4ce68
...@@ -39,14 +39,14 @@ export function uploadPay(id, data) { ...@@ -39,14 +39,14 @@ export function uploadPay(id, data) {
/** /**
* 生成订单 * 生成订单
*/ */
export function genOrder(data, id) { export function genOrder(params, id) {
return httpRequest({ return httpRequest({
url: `/api/pay/v1/wechat/unified-order/alumni/${id}`, url: `/api/pay/v1/wechat/unified-order/alumni/${id}`,
method: 'get', method: 'get',
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded' 'Content-Type': 'application/x-www-form-urlencoded'
}, },
data params
}) })
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论