diff --git a/Yi.Ai.Vue3/src/components/ProductPackage/index.vue b/Yi.Ai.Vue3/src/components/ProductPackage/index.vue index c4051528..b666bfa2 100644 --- a/Yi.Ai.Vue3/src/components/ProductPackage/index.vue +++ b/Yi.Ai.Vue3/src/components/ProductPackage/index.vue @@ -15,7 +15,7 @@ const packagesData = { { id: 2, name: '6个月', desc: '', price: 143.9, perMonth: 23.9, tag: '年度热销', key: 6 }, { id: 3, name: '3个月', desc: '', price: 80.7, perMonth: 26.9, tag: '短期体验', discount: '', key: 3 }, { id: 4, name: '1个月', desc: '', price: 29.9, originalPrice: 49.9, tag: '灵活选择', discount: '', key: 1 }, - { id: 5, name: '测试', desc: '', price: 0.01, originalPrice: 9.9, tag: '测试使用', discount: '', key: 0 }, + // { id: 5, name: '测试', desc: '', price: 0.01, originalPrice: 9.9, tag: '测试使用', discount: '', key: 0 }, ], token: [ { id: 6, name: '10M 输入Token', desc: '', price: 49.9, tag: '轻量用户', discount: '' }, @@ -131,8 +131,12 @@ async function pay() { isLoading.value = true; try { + // const returnUrl = `https://ai.ccnetcore.com/pay-result`; + const returnUrl = `${window.location.origin}/pay-result`; + const params = { goodsType: selectPackageObject.value?.key, + ReturnUrl: returnUrl, }; const response = await createOrder(params);