根据文件id获取单个文件的信息
语法格式:
根据id获取单个文件的信息
GetFileById(string fileid)
参数一(必填):文件id
返回值:数组,包含如下信息,其中第1个元素即为文件的信息
"[
{"UserFilesID":"334a4c3b-4a5a-4606-9343-81ed823f0539",
"UserID":"72854d28-f45c-48d7-92b7-3cd933e03022",
"UserDirectoryID":"7aeaab56-485f-4150-b781-8ffd86d593ce",
"UserFilesName":"信函常用句.ppt",
"UserFilesServerName":"4c63d42c-880e-4160-b026-c09c93aa57a4.ppt",
"UseFilesServerThumbnailName":undefined,"UserFilesExtendName":"ppt",
"UserFilesDescript":"",
"UserFilesSize":195584,
"UserFileRefCount":1,
"UserFileHashCode":"67d39b64118c7b00ac0f29a772e99e25",
"UserFilesModifyTime":"/Date(1517477521360)/",
"UserFilesAddTime":"/Date(1381889910927)/",
"MicroBlogTime":undefined,
"UsOffice":undefined,
"UserDirectoryEncrypt":undefined,
"UserTtraffic":undefined,
"UserThumbnailImageHead":"efcf328d-8370-4b22-86bb-02a893191e91.jpg",
"UserName":"楚老师"
}
]"
前端javascript调用数据库存储过程示例(可在编辑区域修改参数):
U.A.Request(US.CD, [US.DB, "UseStudio_Disk", "GetFileById", "FB1CB716-E42E-4DEA-9A66-F14F0771826F"], AsynFun,[]);
运行结果展示区域:
前端javascript调用示例:
U.A.Request(US.CD, [US.DB, "UseStudio_Disk", "GetFileById", "FB1CB716-E42E-4DEA-9A66-F14F0771826F"], AsynFun,[]);