国际化修改
This commit is contained in:
@@ -55,7 +55,8 @@ namespace IRaCIS.Core.Application.Services
|
||||
|
||||
if (!studyIds.Any())
|
||||
{
|
||||
return ResponseOutput.NotOk("当前检查没有影像可以分享。 ");
|
||||
//---当前检查没有影像可以分享。
|
||||
return ResponseOutput.NotOk(_localizer["ISS_NoImgToShare"]);
|
||||
}
|
||||
|
||||
imageShareCommand.StudyId = studyIds.First();
|
||||
@@ -93,17 +94,20 @@ namespace IRaCIS.Core.Application.Services
|
||||
|
||||
if (imageShare == null)
|
||||
{
|
||||
return ResponseOutput.NotOk("资源不存在。");
|
||||
//---资源不存在。
|
||||
return ResponseOutput.NotOk(_localizer["ISS_ResNotExists"]);
|
||||
}
|
||||
|
||||
if (pWord != imageShare.Password.Trim())
|
||||
{
|
||||
return ResponseOutput.NotOk("分享密码错误。");
|
||||
//---分享密码错误。
|
||||
return ResponseOutput.NotOk(_localizer["ISS_SharePwdError"]);
|
||||
}
|
||||
|
||||
if (DateTime.Now > imageShare.ExpireTime)
|
||||
{
|
||||
return ResponseOutput.NotOk("资源分享过期。");
|
||||
//---资源分享过期。
|
||||
return ResponseOutput.NotOk(_localizer["ISS_ShareExpiration"]);
|
||||
}
|
||||
|
||||
var resource = new ResourceInfo()
|
||||
@@ -128,4 +132,4 @@ namespace IRaCIS.Core.Application.Services
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user