Compare commits

...

2 Commits

Author SHA1 Message Date
d0d9fd0005 修改支付跳转状态页面 2025-05-23 10:13:44 +08:00
9945c925fd 修改支付结果状态码 2025-05-23 10:13:23 +08:00
2 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@ const { checkoutSessionUrl, qrUid, qrData, codePKey, codePayUid } =
codeAuthStore();
const payStatus = ref(0);
const state = reactive({
pageRequest: false,
pageRequest: true,
});
definePageMeta({
i18n: "payment.title",
@ -73,6 +73,7 @@ const abroadPay=async ()=>{
QrUid:route.query.qrUid
});
if(res.status===0){
codePKey.value = res.data.checkoutSessionUrl;
codePayUid.value = res.data.payUid;
window.location.href = res.data.checkoutSessionUrl;

View File

@ -17,8 +17,8 @@ const resData = ref({});
const statusLabel = {
1: t("payment.text2"),
2: t("payment.text3"),
1: t("payment.text3"),
2: t("payment.text2"),
3: t("payment.text4"),
4: t("payment.text5"),
};