修复审核成功/失败在界面上不显示的bug
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package com.nis.web.controller.configuration;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@@ -10,6 +11,7 @@ import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
import com.nis.domain.Page;
|
||||
import com.nis.domain.ServiceConfigInfo;
|
||||
@@ -207,6 +209,7 @@ public class ComplexStringCfgController extends BaseController{
|
||||
public String auditStringCfg(String cfgName,ComplexkeywordCfg cfg,Model model) {
|
||||
model.addAttribute("cfgName", cfgName);
|
||||
model.addAttribute("audit", Constants.AUDIT_PAGE);
|
||||
model.addAttribute("cfgType", "complex");
|
||||
model.addAttribute("serviceId", cfg.getServiceId());
|
||||
model.addAttribute("action", cfg.getAction());
|
||||
try{
|
||||
@@ -250,7 +253,7 @@ public class ComplexStringCfgController extends BaseController{
|
||||
logger.error("发生异常",e);
|
||||
addMessage(model,"审核失败!");
|
||||
}
|
||||
return "redirect:" + adminPath + "/cfg/complex/list";
|
||||
return "/cfg/resultPage";
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user