From e285517df2a3cb206282a41f958c80044422a552 Mon Sep 17 00:00:00 2001 From: guyue <1721849008@qq.com> Date: 星期一, 07 七月 2025 17:51:35 +0800 Subject: [PATCH] 基本增删改 --- src/main/resources/application.yml | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 241490e..ecda751 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,14 +1,29 @@ server: port: 8080 - +# JWT配置 +jwt: + secret: linghu-system-mySuperSecretKeyThatIsAtLeast-key-2024 + expiration: 3600 spring: datasource: url: jdbc:mysql://192.168.110.21:3306/linghu_geo_system?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&characterEncoding=UTF-8 + # url: jdbc:mysql://127.0.0.1:3306/linghu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&characterEncoding=UTF-8 username: root password: "123456" driver-class-name: com.mysql.cj.jdbc.Driver mvc: pathmatch: matching-strategy: ant_path_matcher # 使用 AntPathMatcher 替代 PathPatternMatcher +mybatis-plus: + global-config: + db-config: + logic-delete-field: del_flag #默认deleted + logic-delete-value: 1 + logic-not-delete-value: 0 + configuration: + map-underscore-to-camel-case: false + +linghu: + url: http://182.92.208.99:8000/api/v1 \ No newline at end of file -- Gitblit v1.7.1