Uat_Study
parent
631afde7b6
commit
da44e67d65
|
@ -21,7 +21,7 @@ namespace IRaCIS.Core.Application.Helper
|
||||||
private static void VerifyFolder()
|
private static void VerifyFolder()
|
||||||
{
|
{
|
||||||
if (!Directory.Exists(JsonFileFolder) ||
|
if (!Directory.Exists(JsonFileFolder) ||
|
||||||
Directory.GetFiles(JsonFileFolder).Any(filePath => Path.GetExtension(filePath).Equals(".json", StringComparison.OrdinalIgnoreCase)))
|
!Directory.GetFiles(JsonFileFolder).Any(filePath => Path.GetExtension(filePath).Equals(".json", StringComparison.OrdinalIgnoreCase)))
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException("国际化Json文件目录有误");
|
throw new BusinessValidationFailedException("国际化Json文件目录有误");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue