Authored by qinchao

修复bug

@@ -174,7 +174,8 @@ public class HostGroupCtrl { @@ -174,7 +174,8 @@ public class HostGroupCtrl {
174 @ResponseBody 174 @ResponseBody
175 public BaseResponse getAllGroups() { 175 public BaseResponse getAllGroups() {
176 try{ 176 try{
177 - BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, null, BaseResponse.class); 177 + TagReq req=new TagReq();
  178 + BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, req, BaseResponse.class);
178 return response; 179 return response;
179 }catch (Exception e){ 180 }catch (Exception e){
180 log.error("getAllGroups error",e); 181 log.error("getAllGroups error",e);
@@ -6,6 +6,7 @@ import com.ui.model.BaseResponse; @@ -6,6 +6,7 @@ import com.ui.model.BaseResponse;
6 import com.ui.model.domain.InternalDomain; 6 import com.ui.model.domain.InternalDomain;
7 import com.ui.model.domain.InternalDomainHistory; 7 import com.ui.model.domain.InternalDomainHistory;
8 import com.ui.model.req.ProjectBuildReq; 8 import com.ui.model.req.ProjectBuildReq;
  9 +import com.ui.model.req.TagReq;
9 import com.ui.model.req.User; 10 import com.ui.model.req.User;
10 import com.ui.project.ProjectEnvironment; 11 import com.ui.project.ProjectEnvironment;
11 import com.ui.project.ProjectOnline; 12 import com.ui.project.ProjectOnline;
@@ -39,7 +40,8 @@ public class InternalDnsCtrl { @@ -39,7 +40,8 @@ public class InternalDnsCtrl {
39 40
40 @RequestMapping("/toInternalDns") 41 @RequestMapping("/toInternalDns")
41 public ModelAndView toInternalDns(Model model) { 42 public ModelAndView toInternalDns(Model model) {
42 - BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, null, BaseResponse.class); 43 + TagReq req=new TagReq();
  44 + BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, req, BaseResponse.class);
43 model.addAttribute("tags",response.getData()); 45 model.addAttribute("tags",response.getData());
44 return new ModelAndView("project/internal_domain"); 46 return new ModelAndView("project/internal_domain");
45 } 47 }