supervision-edh/src/main/resources/application.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

2025-06-25 10:11:08 +08:00
server:
port: 1788
# spring配置
spring:
datasource:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://47.109.202.121:3306/supervisionx_trace_data?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
username: root
2025-10-29 11:45:33 +08:00
password: TCCT3.14Kn!R1W
2025-06-25 10:11:08 +08:00
mybatis-plus:
# 搜索指定包别名
type-aliases-package: com.supervision.edh
# 配置mapper的扫描找到所有的mapper.xml映射文件
#mapper-locations: classpath*:mapper/**/*Mapper.xml
mapper-locations: classpath:mapper/*.xml
# 加载全局的配置文件
config-location: classpath:mybatis/mybatis-config.xml
#逻辑删除配置
global-config:
db-config:
logic-not-delete-value: 0
logic-delete-value: 1
logic-delete-field: del_flag
logging:
level:
root: INFO
org.springframework: WARN
com.supervision.edh: DEBUG
mybatis: DEBUG
com.baomidou.mybatisplus: DEBUG
cert:
#本地
2025-07-01 09:16:59 +08:00
#path: D:\ynyp\药品追溯\d2d\edh_prod.pfx
#阿里云 证书地址
2025-10-30 09:45:25 +08:00
path: /app/cert/edh.pfx
#药监局服务器
# path: /home/sysroot/workspace/supervision-v4/jar-file/supervision-edh/cert/edh.pfx
2025-06-25 10:11:08 +08:00
algorithm: RSA
#公司阿里云服务器 证书对应密码
password: YnYp123456
#药监局服务器 证书对应密码
# password: YnYp@20256.30