From 69b4b758498b839aedbd82f7d4dee9d879ba65fe Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期四, 12 六月 2025 09:17:53 +0800
Subject: [PATCH] 修改开始检修和查看检修人员接口
---
project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs
index 6c62ad4..8f4080e 100644
--- a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs
+++ b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs
@@ -227,6 +227,7 @@
ID = user.UserId,
RoleId = user.RoleId,
depid = disbled.Dept_Id,
+ IsLeader = disbled.IsLeader,
});
}
else
@@ -260,10 +261,10 @@
//result = FaceCompare.FaceIdentifyByBuffer(image, groupIdList, userId);
break;
case "url":
- result = FaceCompare.FaceIdentify(image, groupIdList, userId);
+ //result = FaceCompare.FaceIdentify(image, groupIdList, userId);
break;
case "token":
- result = FaceCompare.FaceIdentifyByFeature(image, groupIdList, userId);
+ //result = FaceCompare.FaceIdentifyByFeature(image, groupIdList, userId);
break;
default:
break;
@@ -281,9 +282,11 @@
{
try
{
- var result = FaceCompare.match(file1, file2);
- string buf = Marshal.PtrToStringAnsi(result);
- return buf;
+ //var result = FaceCompare.match(file1, file2);
+ //string buf = Marshal.PtrToStringAnsi(result);
+ //return buf;
+
+ return string.Empty; // 杩欓噷闇�瑕佹浛鎹负瀹為檯鐨勪汉鑴告瘮瀵归�昏緫
}
catch (Exception e)
{
--
Gitblit v1.9.3