From 1d47b26d0d02ce6888365e34fbd48e8d467e8677 Mon Sep 17 00:00:00 2001 From: ccnetcore Date: Sat, 3 Jan 2026 22:09:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E5=9C=B0=E5=9D=80=E5=B9=B6=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=AE=B0=E5=BD=95=E8=BF=94=E5=9B=9E=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将图片存储服务地址由本地地址调整为线上正式地址 - 图片列表返回结果中新增 UserName、UserId、IsAnonymous 字段,完善用户相关信息返回 --- .../Services/Chat/AiImageService.cs | 5 ++++- .../Yi.Framework.AiHub.Domain/Managers/AiGateWayManager.cs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs index fad3ecc7..5a8f3acb 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/Chat/AiImageService.cs @@ -261,7 +261,10 @@ public class AiImageService : ApplicationService PublishStatus = x.PublishStatus, Categories = x.Categories, CreationTime = x.CreationTime, - ErrorInfo = x.ErrorInfo + ErrorInfo = x.ErrorInfo, + UserName = x.UserName, + UserId = x.UserId, + IsAnonymous =x.IsAnonymous }) .ToPageListAsync(input.SkipCount, input.MaxResultCount, total); diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain/Managers/AiGateWayManager.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain/Managers/AiGateWayManager.cs index 6c4aec81..72fdd515 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain/Managers/AiGateWayManager.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain/Managers/AiGateWayManager.cs @@ -1003,7 +1003,7 @@ public class AiGateWayManager : DomainService } } - private const string ImageStoreHost = "http://localhost:19001/api/app"; + private const string ImageStoreHost = "https://ccnetcore.com/prod-api"; /// /// Gemini 生成(Image)-非流式-缓存处理 /// 返回图片绝对路径