根据目录id递归获取所有文件
语法格式:
根据目录id递归获取所有文件,用于用户下载文件夹时,打包所有文件。
参数一(必填):目录id
GetAllFilesRecursionByDirectoryId(string directoryid)
返回值:数组,包含如下信息
"[{
"UserFilesID":"3e5bff44-2b8b-8522-3076-d796ca274aee",
"UserID":"72854d28-f45c-48d7-92b7-3cd933e03022",
"UserDirectoryID":"22390a83-57f0-b2d5-ed53-acd364d3304e",
"UserFilesName":"课程要求.txt",
"UserFilesServerName":"",
"UseFilesServerThumbnailName":undefined,
"UserFilesExtendName":"txt",
"UserFilesSize":19470,
"UserFilesAddTime":"/Date(1504573575227)/",
"UserName":"","UserThumbnailImageHead":""
}]"
前端javascript调用数据库存储过程示例(可在编辑区域修改参数):
U.A.Request(US.CD, [US.DB, "UseStudio_Disk", "GetAllFilesRecursionByDirectoryId", "22390a83-57f0-b2d5-ed53-acd364d3304e"], AsynFun, []);
运行结果展示区域:
前端javascript调用示例:
U.A.Request(US.CD, [US.DB, "UseStudio_Disk", "GetAllFilesRecursionByDirectoryId", "22390a83-57f0-b2d5-ed53-acd364d3304e"], AsynFun, []);