diff --git a/src/api/onlinePay.ts b/src/api/onlinePay.ts index 71fecb7..8a9ed74 100644 --- a/src/api/onlinePay.ts +++ b/src/api/onlinePay.ts @@ -46,7 +46,7 @@ export const GetReturnPayCode = () => { */ export const GetCodePic = () => { return useRequest({ - url: '/caphtml-order', + url: '/xima-caphtml/caphtml-order', base_url: CAP_HTML_TO_IMAGE_BASE_URL, method: 'post', }) diff --git a/src/pages/order/index.tsx b/src/pages/order/index.tsx index 9ca06cc..0c567d4 100644 --- a/src/pages/order/index.tsx +++ b/src/pages/order/index.tsx @@ -301,7 +301,7 @@ const Order = () => { [orderDetail], ) return ( - + {(orderDetail?.status != SaleorderstatusWaitingPrePayment.value && ) || (