根据目录id获取该目录下面所有文件夹及文件
语法格式:
根据目录id获取该目录下面所有文件夹及文件
GetChildsByDirectoryId(string userid,string directoryid,string groupid)
参数一(必填):用户id
参数二(必填):目录id
参数三(必填):依附目录的id
返回值:数组,包含如下信息
"[
{"UserId":"72854d28-f45c-48d7-92b7-3cd933e03022",
"UserDirectoryID":"4abe80a2-8217-2014-37d6-f53657b993f7",
"UserDirectorySize":4,
"UserDirectoryParentID":"7aeaab56-485f-4150-b781-8ffd86d593ce",
"UserDirectoryName":undefined,
"UserallDirectoryName":"1231",
"UserDirectoryExtendType":"UW",
"UserFilesServerName":"0e643879-e633-1f89-1259-c67a644a4dd9.UW",
"UserDirectoryAddTime":"/Date(1475139022937)/",
"UserDirectoryUrl":undefined,
"UserDirectoryDeep":9999,
"UserDirectoryModifyTime":"/Date(1515750120623)/",
"UserDirectoryEncrypt":undefined,
"filetype":1,
"Descript":undefined,
"GroupID":undefined,
"UserName":"13928417148",
"UserNickName":"楚老师",
"UserThumbnailImageHead":"efcf328d-8370-4b22-86bb-02a893191e91.jpg"
}
]"
前端javascript调用数据库存储过程示例(可在编辑区域修改参数):
U.A.Request(US.CD, [US.DB, "UseStudio_Disk", "GetChildsByDirectoryId", "25f6a101-269a-4751-8b18-f6eab553bec4","f6d7a4b6-e34c-4964-beed-24187b2cb1ba","25f6a101-269a-4751-8b18-f6eab553bec4"], function(r){
$("#resultarea")[0].innerHTML =r.value;
console.log(r.value);
},[]);
运行结果展示区域:
前端javascript调用示例:
U.A.Request(US.CD, [US.DB, "UseStudio_Disk", "GetChildsByDirectoryId", "25f6a101-269a-4751-8b18-f6eab553bec4","f6d7a4b6-e34c-4964-beed-24187b2cb1ba","25f6a101-269a-4751-8b18-f6eab553bec4"], AsynFun,[]);