提交 f32e5e61 authored 作者: lihuihui's avatar lihuihui

updata

上级 bfba288f
...@@ -24,7 +24,7 @@ export function getOrderStatus() { ...@@ -24,7 +24,7 @@ export function getOrderStatus() {
* 获取订单 * 获取订单
*/ */
export function getOrder(orderId) { export function getOrder(orderId) {
return httpRequest.get(`/api/pay/v1/mall/order/${orderId}`) return httpRequest.get(`/api/pay/v1/wechat/order/${orderId}`)
} }
// upload 支付状态 // upload 支付状态
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
api.genOrder(params).then(response => { api.genOrder(params).then(response => {
this.order = response.data this.order = response.data
this.clearTime = setInterval(() => { this.clearTime = setInterval(() => {
this.getOrderStatus(this.order.id) this.getOrderStatus(this.order.order_no)
}, 1000) }, 1000)
// 调起微信支付 // 调起微信支付
this.wxPay() this.wxPay()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论