From f17b9af381df693428022d915dc51f670aef64a7 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期二, 10 六月 2025 11:33:58 +0800 Subject: [PATCH] Update Sys_UserFaceService.cs --- project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserFaceService.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserFaceService.cs b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserFaceService.cs index 71addb8..29a41ce 100644 --- a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserFaceService.cs +++ b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserFaceService.cs @@ -119,9 +119,9 @@ } string curPath = AppDomain.CurrentDomain.BaseDirectory + "Current\\"; - if (!Directory.Exists(basePath)) + if (!Directory.Exists(curPath)) { - Directory.CreateDirectory(basePath); + Directory.CreateDirectory(curPath); } string fileName = $"face_{DateTime.Now.ToString("yyyyMMddHHmmssfff")}.jpg"; -- Gitblit v1.9.3