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

51 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
password: TCCT3.14Kn!R1W
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:
#本地
#path: D:\ynyp\药品追溯\d2d\edh_prod.pfx
#阿里云 证书地址
path: /app/cert/edh.pfx
#药监局服务器
# path: /home/sysroot/workspace/supervision-v4/jar-file/supervision-edh/cert/edh.pfx
algorithm: RSA
#公司阿里云服务器 证书对应密码
password: YnYp123456
#药监局服务器 证书对应密码
# password: YnYp@20256.30