From bbd4b2cecc2d8b9b141ffdf45ef5db51a0a0f53e Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期一, 11 八月 2025 14:49:26 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/UserServer/UserResumes/Queries/GetUserResumeDetailQuery.cs | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/FlexJobApi.Core/Models/UserServer/UserResumes/Queries/GetUserResumeDetailQuery.cs b/FlexJobApi.Core/Models/UserServer/UserResumes/Queries/GetUserResumeDetailQuery.cs index a95460a..89b3c67 100644 --- a/FlexJobApi.Core/Models/UserServer/UserResumes/Queries/GetUserResumeDetailQuery.cs +++ b/FlexJobApi.Core/Models/UserServer/UserResumes/Queries/GetUserResumeDetailQuery.cs @@ -1,4 +1,7 @@ -锘縰sing MediatR; +锘縰sing Mapster; +using MediatR; +using Newtonsoft.Json; +using Swashbuckle.AspNetCore.Annotations; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; @@ -40,6 +43,14 @@ /// <summary> /// 鐢熸椿鐓� /// </summary> - public List<string> Photos { get; set; } + [JsonIgnore, SwaggerIgnore] + public List<GetUserResumeQueryResultPhoto> Photos { get; set; } + + /// <summary> + /// 鐢熸椿鐓� + /// </summary> + [AdaptIgnore] + [JsonProperty("photos")] + public List<string> PhotoImgs => Photos.Select(it => it.Img).ToList(); } } -- Gitblit v1.9.1