|
server:
|
port: 8080
|
# JWT配置
|
jwt:
|
secret: linghu-system-mySuperSecretKeyThatIsAtLeast-key-2024
|
expiration: 3600
|
#open-crypt
|
app:
|
crypt:
|
secret-key: "fY9tX7vX7qH5bN2cD8eM4xD2fH7uL4xM"
|
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
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
logging:
|
level:
|
# 将Mapper接口所在的包路径设置为DEBUG级别
|
com.linghu.mapper: DEBUG # 替换为你的Mapper接口包路径
|
linghu:
|
url: http://182.92.208.99:8000
|