...
|
...
|
@@ -3,6 +3,7 @@ package com.ui.ctrl; |
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.ui.contants.HttpUriContants;
|
|
|
import com.ui.http.HttpRestClient;
|
|
|
import com.ui.model.BaseResponse;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
...
|
...
|
@@ -88,4 +89,11 @@ public class TypeCtrl { |
|
|
return rel;
|
|
|
}
|
|
|
|
|
|
|
|
|
@RequestMapping("/queryNode")
|
|
|
@ResponseBody
|
|
|
public BaseResponse queryNode() throws Exception {
|
|
|
BaseResponse response=httpClient.defaultGet(HttpUriContants.TYPE_QUERY_NODE, BaseResponse.class);
|
|
|
return response;
|
|
|
}
|
|
|
} |
...
|
...
|
|