/// <summary> /// 提示没有权限 /// </summary> /// <returns></returns> protected new IActionResult Unauthorized() { if (IsRequestJson) { return(JResult.Unauthorized(T)); } else { return(PromptView(string.Format(T["security_unauthorized"], HttpContext.GetRouteString("org") + WebContext.LoginUrl))); } }
/// <summary> /// 提示没有权限 /// </summary> /// <returns></returns> protected new IActionResult Unauthorized() { return(JResult.Unauthorized(T)); }