diff --git a/src/main/java/com/nis/web/controller/configuration/ntc/WebsiteController.java b/src/main/java/com/nis/web/controller/configuration/ntc/WebsiteController.java index ae278d0a7..8030e21fc 100644 --- a/src/main/java/com/nis/web/controller/configuration/ntc/WebsiteController.java +++ b/src/main/java/com/nis/web/controller/configuration/ntc/WebsiteController.java @@ -540,7 +540,7 @@ public class WebsiteController extends BaseController{ //http配置导出 @RequestMapping(value = "exportHttp") - public String exportHttp(Model model,HttpServletRequest request,HttpServletResponse response, + public void exportHttp(Model model,HttpServletRequest request,HttpServletResponse response, @ModelAttribute("cfg")CfgIndexInfo entity,String ids,RedirectAttributes redirectAttributes){ try { //export data info @@ -658,7 +658,7 @@ public class WebsiteController extends BaseController{ logger.error("http export failed",e); addMessage(redirectAttributes,"error", "export_failed"); } - return "redirect:" + adminPath +"/ntc/website/httpList?functionId="+entity.getFunctionId(); + //return "redirect:" + adminPath +"/ntc/website/httpList?functionId="+entity.getFunctionId(); } //dns配置导出 @@ -756,7 +756,7 @@ public class WebsiteController extends BaseController{ //ssl配置导出 @RequestMapping(value = "exportSsl") - public String exportSsl(Model model,HttpServletRequest request,HttpServletResponse response, + public void exportSsl(Model model,HttpServletRequest request,HttpServletResponse response, @ModelAttribute("cfg")CfgIndexInfo entity,String ids,RedirectAttributes redirectAttributes){ try { //export data info @@ -840,7 +840,7 @@ public class WebsiteController extends BaseController{ logger.error("http export failed",e); addMessage(redirectAttributes,"error", "export_failed"); } - return "redirect:" + adminPath +"/ntc/website/httpList?functionId="+entity.getFunctionId(); + //return "redirect:" + adminPath +"/ntc/website/httpList?functionId="+entity.getFunctionId(); } }