From 1c9a6f108e07e746f907813334848383552ea570 Mon Sep 17 00:00:00 2001 From: Gsh <15170702455@163.com> Date: Wed, 15 Oct 2025 00:04:17 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20=E4=BA=A7=E5=93=81=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ModelSelect/index.vue | 11 +- .../src/components/ProductPackage/index.vue | 727 ++++++------------ 2 files changed, 259 insertions(+), 479 deletions(-) diff --git a/Yi.Ai.Vue3/src/components/ModelSelect/index.vue b/Yi.Ai.Vue3/src/components/ModelSelect/index.vue index 5e9af5a7..5aae417c 100644 --- a/Yi.Ai.Vue3/src/components/ModelSelect/index.vue +++ b/Yi.Ai.Vue3/src/components/ModelSelect/index.vue @@ -141,14 +141,14 @@ function getWrapperClass(item: GetSessionListVO) { > -
+
From a9a2a911837b504a1e02c1d73c9e601eb3ab641d Mon Sep 17 00:00:00 2001 From: Gsh <15170702455@163.com> Date: Wed, 15 Oct 2025 00:04:55 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E4=BA=A7=E5=93=81=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Ai.Vue3/src/components/ProductPackage/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/Yi.Ai.Vue3/src/components/ProductPackage/index.vue b/Yi.Ai.Vue3/src/components/ProductPackage/index.vue index 21ad1ddf..5b4f5538 100644 --- a/Yi.Ai.Vue3/src/components/ProductPackage/index.vue +++ b/Yi.Ai.Vue3/src/components/ProductPackage/index.vue @@ -152,6 +152,7 @@ const benefitsData = { { name: '支持Mcp/FunctionCall开发', value: '' }, { name: '支持安卓/ios/web/客户端使用', value: '' }, { name: '支持售后群服务,一起畅玩前沿Ai', value: '' }, + { name: '如果需大量使用Agent,请选择尊享Token包', value: '' }, ], token: [ { name: '超值优惠', value: '相比官方价格,我们的价格更实惠' }, From 161e10d2d1725268d49c9fbecdce1dbb6b8abfc3 Mon Sep 17 00:00:00 2001 From: Gsh <15170702455@163.com> Date: Wed, 15 Oct 2025 00:16:57 +0800 Subject: [PATCH 3/4] =?UTF-8?q?feat:=20=E4=BA=A7=E5=93=81=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PremiumService.vue | 47 ++++++++++--------- .../components/RechargeLog.vue | 2 +- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue index b5b365a2..31e74a4e 100644 --- a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue +++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/PremiumService.vue @@ -1,6 +1,7 @@ diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue index 481098b2..787c4dfb 100644 --- a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue +++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue @@ -374,7 +374,7 @@ onMounted(() => { } .recharge-log-container { - padding: 30px; + padding: 10px; background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); From 2d6c1f3c46ec30ed6e45cb836d633704cf0c3c0e Mon Sep 17 00:00:00 2001 From: chenchun Date: Wed, 15 Oct 2025 11:53:54 +0800 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E9=AA=8C=E8=AF=81=E4=BA=A4=E6=98=93?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=BB=85=E5=9C=A8=E6=88=90=E5=8A=9F=E6=97=B6?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=85=85=E5=80=BC=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Yi.Framework.AiHub.Application/Services/PayService.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs index e1e80a86..7e38d42b 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs @@ -112,6 +112,13 @@ public class PayService : ApplicationService, IPayService _logger.LogInformation("订单状态更新成功,订单号:{OutTradeNo},状态:{TradeStatus}", outTradeNo, tradeStatus); + // 验证交易状态,只有交易成功才执行充值逻辑 + if (status != TradeStatusEnum.TRADE_SUCCESS) + { + _logger.LogError($"订单 {outTradeNo} 状态为 {tradeStatus},不执行充值逻辑"); + return "success"; + } + // 5. 根据商品类型进行不同的处理 if (order.GoodsType.IsPremiumPackage()) {