Exemplo n.º 1
0
 /// <summary>
 /// 上传文件并获取下载路径
 /// </summary>
 /// <param name="fileName">文件名</param>
 /// <param name="fileData">文件内容</param>
 /// <returns>文件下载路径</returns>
 public static string UploadFileAndGetUrl(string fileName, byte[] fileData)
 {
     return(DataFileExporter.BringUrl(fileName, fileData));
 }
Exemplo n.º 2
0
 public FileExportResult ExportFile(ForwardRequestData requestData)
 {
     return(DataFileExporter.ExportFile(requestData, requestData.ExporterName));
 }