public ActionResult SubmitAddAdminInfo() { string adminID = CreateID(); string adminName = Request["adminName"]; string adminSex = Request["adminSex"]; string adminIDCard = Request["adminIDCard"]; string adminDepartment = Request["adminDepartment"]; string adminContact = Request["adminContact"]; string adminOther = Request["adminOther"]; string AdminStatus = Request["adminStatus"]; // 转换数据类型 int adminStatus = Convert.ToInt32(AdminStatus); string result = roleInfoService.AddAdminInfo(adminID, adminName, adminSex, adminIDCard, adminDepartment, adminContact, adminOther, adminStatus); return(View("AlterAdminInfo")); }