修复http-URL导出 控制台重定向异常信息
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user