|
|
@@ -0,0 +1,24 @@
|
|
|
+package com.zksy.data.client;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author Administrator
|
|
|
+ * @version 1.0
|
|
|
+ * @project xh-service-micro
|
|
|
+ * @description
|
|
|
+ * @date 2024/11/7 17:19:52
|
|
|
+ */
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
+import com.zksy.common.domain.Result;
|
|
|
+import org.springframework.cloud.openfeign.FeignClient;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 有关消费者client,配置需要调用服务者的名字
|
|
|
+ */
|
|
|
+@FeignClient(name = "data-library-table-service") //对应的要调用提供者服务名spring.application.name
|
|
|
+public interface MyServiceFeignClient {
|
|
|
+ @GetMapping("/libraryTable/eBaseinfo")//对应要调用提供者的controller
|
|
|
+ Result getEBaseinfoAll();
|
|
|
+}
|