diff --git a/IRaCIS.Core.API/Properties/launchSettings.json b/IRaCIS.Core.API/Properties/launchSettings.json
index 3238a6f17..3b79cdfad 100644
--- a/IRaCIS.Core.API/Properties/launchSettings.json
+++ b/IRaCIS.Core.API/Properties/launchSettings.json
@@ -25,6 +25,15 @@
},
"applicationUrl": "http://0.0.0.0:6100"
},
+ "IRaCIS.Test_Rayplus": {
+ "commandName": "Project",
+ "launchBrowser": true,
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Test_Rayplus",
+ "ASPNETCORE_OpenSwagger": "true"
+ },
+ "applicationUrl": "http://0.0.0.0:6100"
+ },
"IRaCIS.Test_IRC_PGSQL": {
"commandName": "Project",
"launchBrowser": true,
diff --git a/IRaCIS.Core.Application/BusinessFilter/LegacyController/RequestDuplicationFilter.cs b/IRaCIS.Core.Application/BusinessFilter/LegacyController/RequestDuplicationFilter.cs
index d462948dd..096f509fd 100644
--- a/IRaCIS.Core.Application/BusinessFilter/LegacyController/RequestDuplicationFilter.cs
+++ b/IRaCIS.Core.Application/BusinessFilter/LegacyController/RequestDuplicationFilter.cs
@@ -8,6 +8,7 @@ namespace IRaCIS.Core.Application.BusinessFilter.LegacyController
{
using Database.Api;
using DocumentFormat.OpenXml.InkML;
+ using global::MassTransit;
using IRaCIS.Core.Application.Helper.OtherTool;
using IRaCIS.Core.Application.Service.Common;
using IRaCIS.Core.Infrastructure;
@@ -95,9 +96,11 @@ namespace IRaCIS.Core.Application.BusinessFilter.LegacyController
{
var requestPath = accessor?.HttpContext?.Request?.Path.ToString() ?? string.Empty;
+ var httpMethod = accessor?.HttpContext?.Request?.Method?.ToUpper() ?? string.Empty;
+
// 验证请求频繁情况
if (
- //requestPath == "/ReadingImageTask/changeDicomReadingQuestionAnswer"&&
+ !httpMethod.Equals("GET", StringComparison.OrdinalIgnoreCase) &&
!requestPath
.Split("/", StringSplitOptions.RemoveEmptyEntries)
@@ -122,7 +125,7 @@ namespace IRaCIS.Core.Application.BusinessFilter.LegacyController
{
SendRequestDuplicationWeComNotice(requestPath);
logger.LogError($"重复请求出现错误:{this.Intoparam}");
- throw new BusinessValidationFailedException(_localizer["RequestDuplicationFilter_RequestDuplication"], ApiResponseCodeEnum.BusinessValidationFailed);
+ throw new BusinessValidationFailedException(_localizer["RequestDuplicationFilter_RequestDuplication"], ApiResponseCodeEnum.NotRemind);
}
}
}
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index c7b848054..a9fe100c1 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -17543,17 +17543,17 @@
- 质疑
+ ����
- 一致性核查
+ һ���Ժ˲�
- 复制
+ ����
diff --git a/IRaCIS.Core.Infrastructure/_IRaCIS/Output/ApiResponseCodeEnum.cs b/IRaCIS.Core.Infrastructure/_IRaCIS/Output/ApiResponseCodeEnum.cs
index a2d88b1c8..5bf6ef3cb 100644
--- a/IRaCIS.Core.Infrastructure/_IRaCIS/Output/ApiResponseCodeEnum.cs
+++ b/IRaCIS.Core.Infrastructure/_IRaCIS/Output/ApiResponseCodeEnum.cs
@@ -50,13 +50,19 @@ namespace IRaCIS.Core.Infrastructure.Extention
///
NeedChangePassWord=-3,
+
//没有带token访问(未登陆)
NoToken = 10,
//带了Token,但是没有相应权限(该用户类型不能做)
HaveTokenNotAccess = 11,
- ResultEncrepted=12
+ ResultEncrepted=12,
+
+ ///
+ /// 不需要提醒
+ ///
+ NotRemind = -4,
}