diff --git a/pom.xml b/pom.xml
index 9535b97..a54b193 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,8 @@
yudao-module-system
yudao-module-infra
-
+ tkdata-model-server
+
diff --git a/tkdata-model-server/pom.xml b/tkdata-model-server/pom.xml
new file mode 100644
index 0000000..ca039fd
--- /dev/null
+++ b/tkdata-model-server/pom.xml
@@ -0,0 +1,47 @@
+
+ 4.0.0
+
+ cn.iocoder.boot
+ yudao
+ ${revision}
+
+
+ tkdata-model-server
+ jar
+
+ ${project.artifactId}
+
+ tk-data业务模块
+
+ http://maven.apache.org
+
+
+
+
+ cn.iocoder.boot
+ yudao-spring-boot-starter-web
+
+
+
+ cn.iocoder.boot
+ yudao-spring-boot-starter-security
+
+
+
+
+ cn.iocoder.boot
+ yudao-spring-boot-starter-job
+
+
+
+
+ cn.iocoder.boot
+ yudao-spring-boot-starter-mybatis
+
+
+
+ UTF-8
+
+
+
diff --git a/tkdata-model-server/src/main/java/cn/iocoder/yudao/module/tkdata/controller/admin/DemoTestController.java b/tkdata-model-server/src/main/java/cn/iocoder/yudao/module/tkdata/controller/admin/DemoTestController.java
new file mode 100644
index 0000000..20afd5a
--- /dev/null
+++ b/tkdata-model-server/src/main/java/cn/iocoder/yudao/module/tkdata/controller/admin/DemoTestController.java
@@ -0,0 +1,30 @@
+package cn.iocoder.yudao.module.tkdata.controller.admin;
+
+import cn.iocoder.yudao.framework.common.pojo.CommonResult;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import io.swagger.v3.oas.annotations.Operation;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
+
+@Tag(name = "管理后台 - Test")
+@RestController
+@RequestMapping("/demo/test")
+@Validated
+public class DemoTestController {
+
+ // 这个构造方法,只是方便大家,验证 Controller 有生效
+ public DemoTestController() {
+ System.out.println(getClass() + "生效啦!!!");
+ }
+
+ @GetMapping("/get")
+ @Operation(summary = "获取 test 信息")
+ public CommonResult get() {
+ return success("true");
+ }
+
+}
diff --git a/yudao-server/pom.xml b/yudao-server/pom.xml
index c34f512..39e6665 100644
--- a/yudao-server/pom.xml
+++ b/yudao-server/pom.xml
@@ -31,7 +31,11 @@
yudao-module-infra
${revision}
-
+
+ cn.iocoder.boot
+ tkdata-model-server
+ ${revision}
+
org.springframework.boot
diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml
index fbe55f9..06d2507 100644
--- a/yudao-server/src/main/resources/application-local.yaml
+++ b/yudao-server/src/main/resources/application-local.yaml
@@ -7,7 +7,7 @@ spring:
# noinspection SpringBootApplicationYaml
exclude:
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源
- - org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration # 默认 local 环境,不开启 Quartz 的自动配置
+# - org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration # 默认 local 环境,不开启 Quartz 的自动配置
- de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置
- de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration # 禁用 Spring Boot Admin 的 Server UI 的自动配置
- de.codecentric.boot.admin.client.config.SpringBootAdminClientAutoConfiguration # 禁用 Spring Boot Admin 的 Client 的自动配置