ow
This commit is contained in:
1 parent
7f5bf3c68d
commit
816209fc35
37 files changed
+3236
-4515
No files matched your search
@@ -442,6 +442,28 @@ this.dmsFileService= dmsFileService;
|
||||
|
||||
dmsFileService.UploadFile();
|
||||
|
||||
return string.Empty;
|
||||
}
|
||||
catch (ValidatedException vex)
|
||||
{
|
||||
return vex;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new ServiceErrorException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
[PermissionOperate(name: "DmsFile", operate: "Insert")]
|
||||
[HttpPost]
|
||||
[UnitOfWork]
|
||||
public dynamic UploadDmsFile()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
dmsFileService.UploadDmsFile();
|
||||
|
||||
return string.Empty;
|
||||
}
|
||||
catch (ValidatedException vex)
|
||||
|
||||
@@ -56,10 +56,11 @@
|
||||
},
|
||||
"FileServiceSettings": {
|
||||
"PhysicalFileDirectory": "D:\\Net8\\FileServer",
|
||||
"UploadFileDirectory": "D:\\Net8\\FileServer\\Upload",
|
||||
"BackupFileDirectory": "D:\\Net8\\FileServer\\Backup",
|
||||
"ScaleFileDirectory": "D:\\Net8\\FileServer\\Backup",
|
||||
"RequestPath": "/FileServer", //如果是IIS反向代理来的,那么要在本地给这个文件添加IUSR,IIS_IUSRS权限
|
||||
"DmsFileUploadDirectory": "D:\\Net8\\FileServer\\Upload\\DmsFile", //上传文件目录,有可能是分片文件,仅当临时文件使用
|
||||
"DmsFileBackupDirectory": "D:\\Net8\\FileServer\\Backup\\DmsFile", //这个是备份目录,也是完整文件目录,原文件目录
|
||||
"DmsFileScaleDirectory": "D:\\Net8\\FileServer\\Scale\\DmsFile", //这个是压缩图片或者视频目录
|
||||
"DmsFileDirectory": "DmsFile",
|
||||
"ExcelOutputDirectory": "D:\\Net8\\FileServer\\Output"
|
||||
},
|
||||
"Ffmpeg": {
|
||||
|
||||
Reference in new issue
Block a user