2024-01-29 14:34:38 +08:00
|
|
|
|
# 项目相关配置
|
|
|
|
|
|
xinelu:
|
|
|
|
|
|
# 名称
|
|
|
|
|
|
name: postdischarge
|
|
|
|
|
|
# 版本GlobalExceptionHandler
|
|
|
|
|
|
version: 0.0.1
|
|
|
|
|
|
# 版权年份
|
|
|
|
|
|
copyrightYear: 2024
|
|
|
|
|
|
# 实例演示开关
|
|
|
|
|
|
demoEnabled: true
|
|
|
|
|
|
# 文件路径 示例( Windows配置D:/postdischarge/uploadPath,Linux配置 /home/postdischarge/uploadPath)
|
2025-12-19 10:26:13 +08:00
|
|
|
|
profile: D:/postdischarge/uploadPath
|
2024-11-29 09:13:31 +08:00
|
|
|
|
# profile: E:/postdischarge/uploadPath/xf
|
2024-02-29 11:40:18 +08:00
|
|
|
|
# 签约知情书上传
|
|
|
|
|
|
sign-informed-file-url: /signInformed
|
2024-03-05 17:30:49 +08:00
|
|
|
|
# 素材库封面上传
|
|
|
|
|
|
propaganda-cover-url: /propagandaCover
|
2024-07-17 16:14:08 +08:00
|
|
|
|
# 富文本框视频上传
|
|
|
|
|
|
common-video-url: /commonVideo
|
|
|
|
|
|
# 素材库封面上传
|
2024-03-05 17:30:49 +08:00
|
|
|
|
materials-cover-url: /materialsCover
|
|
|
|
|
|
# 素材库封面上传
|
|
|
|
|
|
materials-video-url: /materialsVideo
|
2024-01-29 14:34:38 +08:00
|
|
|
|
# 获取ip地址开关
|
|
|
|
|
|
addressEnabled: false
|
|
|
|
|
|
# 验证码类型 math 数组计算 char 字符验证
|
|
|
|
|
|
captchaType: math
|
2024-03-05 18:04:09 +08:00
|
|
|
|
# 话术图片路径图片上传
|
|
|
|
|
|
script-file-url: /scriptFileUrl
|
2024-04-02 13:48:45 +08:00
|
|
|
|
# 获取管理端富文本的上传路径
|
|
|
|
|
|
rich-text-picture-url: /richTextPictureUrl
|
2024-04-16 15:43:18 +08:00
|
|
|
|
# 资讯富文本的上传路径
|
|
|
|
|
|
info-rich-text-picture-url: /infoRichTextPictureUrl
|
2024-11-06 10:44:35 +08:00
|
|
|
|
# 资讯富文本的上传路径
|
|
|
|
|
|
phone-dial-record-video: /phoneDialRecordVideo
|
2024-01-29 14:34:38 +08:00
|
|
|
|
|
|
|
|
|
|
# 开发环境配置
|
|
|
|
|
|
server:
|
|
|
|
|
|
# 服务器的HTTP端口,默认为8080
|
2024-11-29 09:13:31 +08:00
|
|
|
|
port: 19090
|
2024-01-29 14:34:38 +08:00
|
|
|
|
servlet:
|
|
|
|
|
|
# 应用的访问路径
|
|
|
|
|
|
context-path: /
|
|
|
|
|
|
tomcat:
|
|
|
|
|
|
# tomcat的URI编码
|
|
|
|
|
|
uri-encoding: UTF-8
|
|
|
|
|
|
# 连接数满后的排队数,默认为100
|
|
|
|
|
|
accept-count: 1000
|
|
|
|
|
|
threads:
|
|
|
|
|
|
# tomcat最大线程数,默认为200
|
|
|
|
|
|
max: 800
|
|
|
|
|
|
# Tomcat启动初始化的线程数,默认值10
|
|
|
|
|
|
min-spare: 100
|
|
|
|
|
|
|
|
|
|
|
|
# 日志配置
|
|
|
|
|
|
logging:
|
|
|
|
|
|
level:
|
|
|
|
|
|
com.xinelu: debug
|
|
|
|
|
|
org.springframework: warn
|
|
|
|
|
|
|
|
|
|
|
|
# Spring配置
|
|
|
|
|
|
spring:
|
|
|
|
|
|
# 资源信息
|
|
|
|
|
|
messages:
|
|
|
|
|
|
# 国际化资源文件路径
|
|
|
|
|
|
basename: i18n/messages
|
|
|
|
|
|
profiles:
|
|
|
|
|
|
active: dev
|
|
|
|
|
|
# 文件上传
|
|
|
|
|
|
servlet:
|
|
|
|
|
|
multipart:
|
|
|
|
|
|
# 单个文件大小
|
2024-03-18 16:36:19 +08:00
|
|
|
|
max-file-size: 100MB
|
2024-01-29 14:34:38 +08:00
|
|
|
|
# 设置总上传的文件大小
|
2024-03-18 16:36:19 +08:00
|
|
|
|
max-request-size: 500MB
|
2024-01-29 14:34:38 +08:00
|
|
|
|
# 服务模块
|
|
|
|
|
|
devtools:
|
|
|
|
|
|
restart:
|
|
|
|
|
|
# 热部署开关
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
# redis 配置
|
|
|
|
|
|
redis:
|
|
|
|
|
|
# 地址
|
2024-03-05 18:04:09 +08:00
|
|
|
|
host: 127.0.0.1
|
2024-01-29 14:34:38 +08:00
|
|
|
|
# 端口,默认为6379
|
|
|
|
|
|
port: 6379
|
|
|
|
|
|
# 数据库索引
|
|
|
|
|
|
database: 6
|
|
|
|
|
|
# 密码
|
2024-07-02 14:33:42 +08:00
|
|
|
|
password:
|
2024-01-29 14:34:38 +08:00
|
|
|
|
# 连接超时时间
|
|
|
|
|
|
timeout: 10s
|
|
|
|
|
|
lettuce:
|
|
|
|
|
|
pool:
|
|
|
|
|
|
# 连接池中的最小空闲连接
|
|
|
|
|
|
min-idle: 0
|
|
|
|
|
|
# 连接池中的最大空闲连接
|
|
|
|
|
|
max-idle: 8
|
|
|
|
|
|
# 连接池的最大数据库连接数
|
|
|
|
|
|
max-active: 8
|
|
|
|
|
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
|
|
max-wait: -1ms
|
|
|
|
|
|
|
|
|
|
|
|
# token配置
|
|
|
|
|
|
token:
|
|
|
|
|
|
# 令牌自定义标识
|
|
|
|
|
|
header: Authorization
|
|
|
|
|
|
# 令牌密钥
|
|
|
|
|
|
secret: DIweGcEWJTbvo48dnvOMR8GsDW
|
|
|
|
|
|
# 令牌有效期(默认30分钟)
|
2024-12-09 17:03:30 +08:00
|
|
|
|
expireTime: 120
|
2024-03-21 10:36:07 +08:00
|
|
|
|
# 请求拦截白名单
|
2024-11-29 09:13:31 +08:00
|
|
|
|
ant-matchers: /postDischarge/**,/testMobile/**,/postDischargeApplet/**,/api/**,/manage/patientInfoimporttemp/**
|
2024-01-29 14:34:38 +08:00
|
|
|
|
|
|
|
|
|
|
## MyBatis-Plus配置
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
|
# 实体扫描,多个package用逗号或者分号分隔
|
|
|
|
|
|
typeAliasesPackage: com.xinelu.**.domain
|
|
|
|
|
|
# 对应的 XML 文件位置
|
|
|
|
|
|
mapperLocations: classpath*:mapper/**/*Mapper.xml
|
|
|
|
|
|
# 启动时是否检查 MyBatis XML 文件的存在,默认不检查
|
|
|
|
|
|
checkConfigLocation: false
|
|
|
|
|
|
# 通过该属性可指定 MyBatis 的执行器,MyBatis 的执行器总共有三种
|
|
|
|
|
|
executorType: SIMPLE
|
|
|
|
|
|
# 指定外部化 MyBatis Properties 配置,通过该配置可以抽离配置,实现不同环境的配置部署
|
|
|
|
|
|
configurationProperties: null
|
|
|
|
|
|
configuration:
|
|
|
|
|
|
# 自动驼峰命名规则(camel case)映射
|
|
|
|
|
|
mapUnderscoreToCamelCase: true
|
|
|
|
|
|
# 默认枚举处理类,如果配置了该属性,枚举将统一使用指定处理器进行处理
|
|
|
|
|
|
defaultEnumTypeHandler: org.apache.ibatis.type.EnumTypeHandler
|
|
|
|
|
|
# 当设置为 true 的时候,懒加载的对象可能被任何懒属性全部加载,否则,每个属性都按需加载。需要和 lazyLoadingEnabled 一起使用。
|
|
|
|
|
|
aggressiveLazyLoading: true
|
|
|
|
|
|
# MyBatis 自动映射策略
|
|
|
|
|
|
autoMappingBehavior: PARTIAL
|
|
|
|
|
|
# MyBatis 自动映射时未知列或未知属性处理策
|
|
|
|
|
|
autoMappingUnknownColumnBehavior: NONE
|
|
|
|
|
|
# Mybatis一级缓存,默认为 SESSION
|
|
|
|
|
|
localCacheScope: SESSION
|
|
|
|
|
|
# 开启Mybatis二级缓存,默认为 true
|
|
|
|
|
|
cacheEnabled: true
|
|
|
|
|
|
global-config:
|
|
|
|
|
|
# 是否打印 Logo banner
|
|
|
|
|
|
banner: true
|
|
|
|
|
|
# 是否初始化 SqlRunner
|
|
|
|
|
|
enableSqlRunner: false
|
|
|
|
|
|
dbConfig:
|
|
|
|
|
|
# 主键类型
|
|
|
|
|
|
idType: AUTO
|
|
|
|
|
|
# 表名前缀
|
|
|
|
|
|
tablePrefix: null
|
|
|
|
|
|
# 字段 format,例: %s,(对主键无效)
|
|
|
|
|
|
columnFormat: null
|
|
|
|
|
|
# 表名是否使用驼峰转下划线命名,只对表名生效
|
|
|
|
|
|
tableUnderline: true
|
|
|
|
|
|
# 大写命名,对表名和字段名均生效
|
|
|
|
|
|
capitalMode: false
|
|
|
|
|
|
# 全局的entity的逻辑删除字段属性名
|
|
|
|
|
|
logicDeleteField: null
|
|
|
|
|
|
# 逻辑已删除值
|
|
|
|
|
|
logicDeleteValue: 1
|
|
|
|
|
|
# 逻辑未删除值
|
|
|
|
|
|
logicNotDeleteValue: 0
|
|
|
|
|
|
# 字段验证策略之 insert,在 insert 的时候的字段验证策略
|
|
|
|
|
|
insertStrategy: NOT_NULL
|
|
|
|
|
|
# 字段验证策略之 update,在 update 的时候的字段验证策略
|
|
|
|
|
|
updateStrategy: NOT_NULL
|
|
|
|
|
|
# 字段验证策略之 select,在 select 的时候的字段验证策略既 wrapper 根据内部 entity 生成的 where 条件
|
|
|
|
|
|
selectStrategy: NOT_NULL
|
|
|
|
|
|
|
|
|
|
|
|
# PageHelper分页插件
|
|
|
|
|
|
pagehelper:
|
|
|
|
|
|
helperDialect: mysql
|
|
|
|
|
|
reasonable: true
|
|
|
|
|
|
supportMethodsArguments: true
|
|
|
|
|
|
params: count=countSql
|
|
|
|
|
|
|
|
|
|
|
|
# Swagger配置
|
|
|
|
|
|
swagger:
|
|
|
|
|
|
# 是否开启swagger
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
# 请求前缀
|
|
|
|
|
|
pathMapping: /dev-api
|
|
|
|
|
|
|
2024-02-27 14:04:33 +08:00
|
|
|
|
swagger-ui:
|
|
|
|
|
|
base-url: com.xinelu
|
|
|
|
|
|
|
2024-01-29 14:34:38 +08:00
|
|
|
|
# 防止XSS攻击
|
|
|
|
|
|
xss:
|
|
|
|
|
|
# 过滤开关
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
# 排除链接(多个用逗号分隔)
|
2024-04-02 13:48:45 +08:00
|
|
|
|
excludes: /system/notice,/system/specialDiseaseNode/add,/system/specialDiseaseNode/edit
|
2024-01-29 14:34:38 +08:00
|
|
|
|
# 匹配链接
|
|
|
|
|
|
urlPatterns: /system/*,/monitor/*,/tool/*
|
2024-03-19 17:19:49 +08:00
|
|
|
|
|
2024-03-21 14:36:06 +08:00
|
|
|
|
# 院后微信小程序参数配置信息
|
|
|
|
|
|
wechat-applet-chat-config:
|
2024-07-01 15:15:50 +08:00
|
|
|
|
# 微信小程序id
|
|
|
|
|
|
applet-id: wx68efddfbe8eb703a
|
|
|
|
|
|
# 微信小程序密钥
|
|
|
|
|
|
secret: a6c75e3be9d690f049f0781367f1714f
|
2024-03-19 17:19:49 +08:00
|
|
|
|
# 微信小程序返回国家语言
|
|
|
|
|
|
lang: zh_CN
|
|
|
|
|
|
# 微信小程序授权类型
|
|
|
|
|
|
grant-type: authorization_code
|
|
|
|
|
|
# 微信小程序事件回调令牌
|
|
|
|
|
|
token: uI1NGHesp7ylIYVYQvp0TlcDmUTKCHj2
|
|
|
|
|
|
# 微信小程序事件回调消息加密密钥
|
2024-07-03 17:59:23 +08:00
|
|
|
|
encoding-aes-key: 5rbyhMBpdnxTEVT54zeHMNcXi3ccilQZ209QqGi8E10
|
2024-07-02 18:13:17 +08:00
|
|
|
|
# 随访模板id
|
|
|
|
|
|
follow-template-id: p__w9HO65a8aqgy6OuNG9t_v9_j1dcT81CEA_cdMhaw
|
|
|
|
|
|
# 健康宣教模板id
|
|
|
|
|
|
healthy-propaganda-id: YNeOOaRXbtLFJ1H7HRb9Ot6HADnKO_mg2uLFrqYOhCw
|
2024-03-21 14:36:06 +08:00
|
|
|
|
|
|
|
|
|
|
# 院后微信公众号参数配置
|
|
|
|
|
|
wechat-official-account-config:
|
|
|
|
|
|
# 微信公众号id
|
|
|
|
|
|
official-account-app-id: wx9d87c7c73ef1ebde
|
|
|
|
|
|
# 微信公众号secret
|
|
|
|
|
|
official-account-app-secret: 20ab2c266b1da75d71e9932e7d28326e
|
|
|
|
|
|
# 微信公众号事件回调令牌
|
2024-03-21 15:29:46 +08:00
|
|
|
|
official-account-token: xinyilu
|
2024-03-21 14:36:06 +08:00
|
|
|
|
# 微信公众号事件回调消息加密密钥
|
2024-03-25 17:46:41 +08:00
|
|
|
|
official-account-encoding-aes-key: Awcn7nvDU4bcfBwAZmiRbB3lFgXAm2RIg45utdb5Zt3
|
|
|
|
|
|
# 测试模板id
|
2024-07-03 17:59:38 +08:00
|
|
|
|
test-template-id: WUCYtSbH-QFRV_fMcfmn86QLsz1zo881QW7fQNTWOjc
|
|
|
|
|
|
|
|
|
|
|
|
# 阿里云参数配置
|
|
|
|
|
|
aliyun-sms:
|
|
|
|
|
|
# AccessKey ID
|
|
|
|
|
|
accessKeyId: LTAIo6vpMk2441nc
|
|
|
|
|
|
# AccessKey Secret
|
|
|
|
|
|
accessKeySecret: JxPKD3Vx404QsZ3SvYSai1wuOlyRtR
|
|
|
|
|
|
# 产品名称:云通信短信API产品,开发者无需替换
|
|
|
|
|
|
product: Dysmsapi
|
|
|
|
|
|
# 产品域名,开发者无需替换
|
|
|
|
|
|
domain: dysmsapi.aliyuncs.com
|
|
|
|
|
|
# 地域ID
|
|
|
|
|
|
regionId: cn-qingdao
|
|
|
|
|
|
# 阿里云登录确认验证模板-短信签名
|
|
|
|
|
|
signName: 新医路
|
|
|
|
|
|
# 阿里云登录确认验证模板-模板CODE
|
|
|
|
|
|
templateCode: SMS_152466667
|
|
|
|
|
|
# 阿里云登录确认验证模板-模板内容
|
|
|
|
|
|
templateContent: 验证码${code},您正在登录,若非本人操作,请勿泄露。
|
|
|
|
|
|
|
2024-07-17 16:40:06 +08:00
|
|
|
|
# 阿里云参数配置
|
|
|
|
|
|
aliyun-sms2:
|
|
|
|
|
|
# AccessKey ID
|
|
|
|
|
|
accessKeyId: LTAIo6vpMk2441nc
|
|
|
|
|
|
# AccessKey Secret
|
|
|
|
|
|
accessKeySecret: JxPKD3Vx404QsZ3SvYSai1wuOlyRtR
|
|
|
|
|
|
# 产品名称:云通信短信API产品,开发者无需替换
|
|
|
|
|
|
product: Dysmsapi
|
|
|
|
|
|
# 产品域名,开发者无需替换
|
|
|
|
|
|
domain: dysmsapi.aliyuncs.com
|
|
|
|
|
|
# 地域ID
|
|
|
|
|
|
regionId: cn-qingdao
|
|
|
|
|
|
# 阿里云登录确认验证模板-短信签名
|
|
|
|
|
|
signName: 新医路
|
|
|
|
|
|
# 阿里云登录确认验证模板-模板CODE
|
|
|
|
|
|
templateCode: SMS_469020649
|
|
|
|
|
|
# 阿里云登录确认验证模板-模板内容
|
|
|
|
|
|
templateContent: 尊敬的用户,馨医健康致电您未成功接通,请放心接听。也可通过馨医健康小程序消息中心查看相关信息;
|
|
|
|
|
|
|
|
|
|
|
|
# 小程序首页路径
|
|
|
|
|
|
applet-page-config:
|
|
|
|
|
|
# 首页跳转路径
|
|
|
|
|
|
page-url: pages/startup/startup
|
|
|
|
|
|
# 个人中心-优惠券页面跳转路径
|
|
|
|
|
|
propaganda-page-url: pages/propaganda/propaganda
|
2024-07-31 15:00:13 +08:00
|
|
|
|
|
|
|
|
|
|
#推送消息限制
|
|
|
|
|
|
push-message-restrictions:
|
|
|
|
|
|
#次数
|
|
|
|
|
|
number: 1
|
|
|
|
|
|
#时间 : 单位,天
|
|
|
|
|
|
time: 2
|
2024-08-30 17:11:03 +08:00
|
|
|
|
|
|
|
|
|
|
# 爱医生平台对接
|
|
|
|
|
|
aifuv-robots:
|
|
|
|
|
|
# 接口地址
|
|
|
|
|
|
url: https://aifuv2cloud.aihealthx.cn/
|
|
|
|
|
|
# 密钥
|
|
|
|
|
|
secrectKey: lJayvsWsVUWDmWnNan1WzmH9OEOiwB
|
|
|
|
|
|
|
|
|
|
|
|
# 百度客悦·智能外呼平台
|
|
|
|
|
|
aiob:
|
|
|
|
|
|
# 请求地址
|
|
|
|
|
|
url: https://aiob-open.baidu.com/api
|
2024-09-13 15:36:15 +08:00
|
|
|
|
accessKey: 9a61c68abf134ab9823e39f61f2c2f72
|
|
|
|
|
|
secretKey: 4287bfa1d5a34c229aacb5e056c94682
|
2024-09-05 13:58:57 +08:00
|
|
|
|
# 任务执行回调地址--测试
|
2025-12-19 10:54:51 +08:00
|
|
|
|
callBackUrl: http://192.168.4.7:19090/api/taskCallBack
|
2025-01-06 13:34:01 +08:00
|
|
|
|
|
|
|
|
|
|
xinyilu-database:
|
|
|
|
|
|
# 公共机构ID(新医路,用于宣教库公共库查询)
|
|
|
|
|
|
id: 46
|