From c0dec19197c2f5447c659179e40dff9bae27d5f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=8E?= <1040978436@qq.com> Date: Sun, 4 Jan 2026 10:15:53 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=A1=B9=E7=9B=AE=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 30 +++++++++++++++++++ .../src/main/resources/application.yml | 5 ++++ 2 files changed, 35 insertions(+) create mode 100644 tacit-admin/src/main/resources/application-dev.yml create mode 100644 tacit-gateway/src/main/resources/application.yml diff --git a/tacit-admin/src/main/resources/application-dev.yml b/tacit-admin/src/main/resources/application-dev.yml new file mode 100644 index 0000000..8437fe6 --- /dev/null +++ b/tacit-admin/src/main/resources/application-dev.yml @@ -0,0 +1,30 @@ +server: + port: 8082 + +spring: + datasource: + driver-class-name: com.oceanbase.jdbc.Driver + url: jdbc:oceanbase://localhost:2881/tacit?useUnicode=true&characterEncoding=utf-8&useSSL=false + username: root + password: password + +mybatis-plus: + configuration: + map-underscore-to-camel-case: true + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + mapper-locations: classpath*:mapper/**/*.xml + type-aliases-package: com.tacit.admin.entity + +# Swagger Configuration +springdoc: + api-docs: + enabled: true + path: /v3/api-docs + swagger-ui: + enabled: true + path: /swagger-ui.html + +# Logging Configuration +logging: + level: + com.tacit.admin: debug diff --git a/tacit-gateway/src/main/resources/application.yml b/tacit-gateway/src/main/resources/application.yml new file mode 100644 index 0000000..c0233d4 --- /dev/null +++ b/tacit-gateway/src/main/resources/application.yml @@ -0,0 +1,5 @@ +server: + port: 8081 +spring: + profiles: + active: dev