diff --git a/ludu-module-datacenter/ludu-module-datacenter-biz/pom.xml b/ludu-module-datacenter/ludu-module-datacenter-biz/pom.xml
index 18e366d75..4d2dea9cd 100644
--- a/ludu-module-datacenter/ludu-module-datacenter-biz/pom.xml
+++ b/ludu-module-datacenter/ludu-module-datacenter-biz/pom.xml
@@ -116,6 +116,12 @@
yudao-spring-boot-starter-monitor
+
+
+ org.springframework.cloud
+ spring-cloud-starter-openfeign
+
+
diff --git a/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/DatacenterServerApplication.java b/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/DatacenterServerApplication.java
index 3aa0aa9cd..87f446c28 100644
--- a/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/DatacenterServerApplication.java
+++ b/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/DatacenterServerApplication.java
@@ -2,11 +2,13 @@ package cn.iocoder.yudao.module.datacenter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.openfeign.EnableFeignClients;
/**
* @Description 大屏服务启动类
*/
@SpringBootApplication
+@EnableFeignClients
public class DatacenterServerApplication {
public static void main(String[] args) {
SpringApplication.run(DatacenterServerApplication.class, args);
diff --git a/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/controller/app/checkticket/CheckTicketApi.java b/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/controller/app/checkticket/CheckTicketApi.java
index bd7d6865f..5924a2d58 100644
--- a/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/controller/app/checkticket/CheckTicketApi.java
+++ b/ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/controller/app/checkticket/CheckTicketApi.java
@@ -1,5 +1,7 @@
package cn.iocoder.yudao.module.datacenter.controller.app.checkticket;
+import cn.iocoder.yudao.module.datacenter.controller.app.clients.LoginClient;
+import cn.iocoder.yudao.module.datacenter.controller.app.clients.vo.AuthLoginReqVO;
import cn.iocoder.yudao.module.datacenter.service.checkticket.CheckTicketService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
@@ -20,6 +22,10 @@ import java.util.Map;
public class CheckTicketApi {
@Resource
private CheckTicketService checkTicketService;
+
+ @Resource
+ private LoginClient loginClient;
+
@GetMapping()
@Operation(summary = "获得日期当天的检票人数")
public Long checkTicketTotal(String starTime, String endTime) {
@@ -35,4 +41,13 @@ public class CheckTicketApi {
String replace1 = endTime.replace("-", "");
return checkTicketService.findbytimetemp(replace,replace1);
}
+
+ @GetMapping("/getToken")
+ public Map