diff --git a/app/api/goods/index.js b/app/api/goods/index.js index 4c0fee7..17ef793 100644 --- a/app/api/goods/index.js +++ b/app/api/goods/index.js @@ -77,4 +77,12 @@ export async function createBuyOrder(data) { method: 'POST', data }) +} +export async function orderQuery(data) { + + return await request( { + url:'/api/v1/payment/order/query', + method: 'POST', + data + }) } \ No newline at end of file diff --git a/app/pages/liveRoom/index.client.vue b/app/pages/liveRoom/index.client.vue index c41276a..d3c0c1a 100644 --- a/app/pages/liveRoom/index.client.vue +++ b/app/pages/liveRoom/index.client.vue @@ -21,7 +21,6 @@ const { auctionDetail} = goodStore(); const player = ref(null) const {quoteStatus, show, playerId, show1, auctionData, getSocketData, getLiveLink, fullLive} = liveStore() const pullLink = ref('') - const handlePlayerError = (error) => { console.error('播放器错误:', error) player.value?.play() diff --git a/app/pages/payment/result/index.vue b/app/pages/payment/result/index.vue index 7515569..059ca2d 100644 --- a/app/pages/payment/result/index.vue +++ b/app/pages/payment/result/index.vue @@ -1,16 +1,31 @@ diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json index 3eb0fe1..e3bc490 100644 --- a/i18n/locales/zh-CN.json +++ b/i18n/locales/zh-CN.json @@ -148,8 +148,11 @@ "next": "下一步" }, "payment": { - "text1": "支付", - "text2":"付款成功", + "text1": "支付结果", + "text2":"支付成功", + "text3":"支付失败", + "text4":"未支付", + "text5":"支付过期", "next": "下一步" } } \ No newline at end of file