/// <summary> /// 上传题目 /// </summary> /// <returns></returns> private ResultMsg <UploadFileResult> UploadQuestionExcel() { ResultMsg <UploadFileResult> result = new ResultMsg <UploadFileResult>(); string moduleName = "Question"; UploadFileResult uploadFileResult = UploadFile.FileUpload(HttpContext.Current, moduleName).First(); result.data = uploadFileResult; return(result); }