public ActionResult DeleteUser() { string license = Payload["license"]; string result = authenticate.DeleteUser(license); if (result == "不存在此用户") { return(Ok(new { success = false, msg = result })); } else { return(Ok(new { success = true, msg = result })); } }