public ActionResult ShareFile(string keyValue, int IsShare, string fileType) { if (fileType == "folder") { fileFolderBLL.ShareFolder(keyValue, IsShare); } else { fileInfoBLL.ShareFile(keyValue, IsShare); } return(Success("共享成功。")); }