File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,14 @@ export const getOrderPage = async (params: OrderPageReqVO) => {
84
84
}
85
85
86
86
// 查询详情支付订单
87
- export const getOrder = async ( id : number ) => {
88
- return await request . get ( { url : '/pay/order/get?id=' + id } )
87
+ export const getOrder = async ( id : number , sync ?: boolean ) => {
88
+ return await request . get ( {
89
+ url : '/pay/order/get' ,
90
+ params : {
91
+ id,
92
+ sync
93
+ }
94
+ } )
89
95
}
90
96
91
97
// 获得支付订单的明细
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ const getDetail = async () => {
231
231
goReturnUrl (' cancel' )
232
232
return
233
233
}
234
- const data = await PayOrderApi .getOrder (id .value )
234
+ const data = await PayOrderApi .getOrder (id .value , true )
235
235
payOrder .value = data
236
236
// 1.2 无法查询到支付信息
237
237
if (! data ) {
You can’t perform that action at this time.
0 commit comments