Authored by qinchao

修复bug

... ... @@ -174,7 +174,8 @@ public class HostGroupCtrl {
@ResponseBody
public BaseResponse getAllGroups() {
try{
BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, null, BaseResponse.class);
TagReq req=new TagReq();
BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, req, BaseResponse.class);
return response;
}catch (Exception e){
log.error("getAllGroups error",e);
... ...
... ... @@ -6,6 +6,7 @@ import com.ui.model.BaseResponse;
import com.ui.model.domain.InternalDomain;
import com.ui.model.domain.InternalDomainHistory;
import com.ui.model.req.ProjectBuildReq;
import com.ui.model.req.TagReq;
import com.ui.model.req.User;
import com.ui.project.ProjectEnvironment;
import com.ui.project.ProjectOnline;
... ... @@ -39,7 +40,8 @@ public class InternalDnsCtrl {
@RequestMapping("/toInternalDns")
public ModelAndView toInternalDns(Model model) {
BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, null, BaseResponse.class);
TagReq req=new TagReq();
BaseResponse response=httpRestClient.defaultPost(HttpUriContants.HOST_ALL_GROUPS, req, BaseResponse.class);
model.addAttribute("tags",response.getData());
return new ModelAndView("project/internal_domain");
}
... ...