|
@@ -0,0 +1,19 @@
|
|
|
+package com.gyee.consumer.api.monitor;
|
|
|
+
|
|
|
+import com.gyee.common.config.R;
|
|
|
+import com.gyee.common.model.StringUtils;
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.web.bind.annotation.CrossOrigin;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+@FeignClient("monitor-provider")
|
|
|
+@RequestMapping("//matrix")
|
|
|
+public interface MatrixApi {
|
|
|
+
|
|
|
+ @GetMapping("/matrixDatas")
|
|
|
+ public R matrixDatas();
|
|
|
+}
|