医院废弃物信息化管理平台
“mitao”
2025-12-24 3763145f34d7706923d55edc32f5cfbc8bc08b92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
server:
    #本地
    #port: 7001
    tomcat:
      max-http-post-size: -1
    #本地
    port: 8093
    #外网
    #port: 8080
    servlet:
      context-path: /backend
spring:
  servlet:
      multipart:
        max-file-size: 50MB
        max-request-size: 50MB
  #json 时间戳统一转换
  jackson:
    date-format:   yyyy-MM-dd HH:mm:ss
    time-zone:   GMT+8
  aop:
    proxy-target-class: true
  #配置freemarker
  freemarker:
    # 设置模板后缀名
    suffix: .ftl
    # 设置文档类型
    content-type: text/html
    # 设置页面编码格式
    charset: UTF-8
    # 设置页面缓存
    cache: false
    # 设置ftl文件路径
    template-loader-path:
      - classpath:/templates
  # 设置静态文件路径,js,css等
  mvc:
    static-path-pattern: /**
  resource:
    static-locations: classpath:/static/,classpath:/public/
  autoconfigure:
    exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  datasource:
    druid:
      stat-view-servlet:
        loginUsername: admin
        loginPassword: mw123!
    dynamic:
      druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
        # 连接池的配置信息
        # 初始化大小,最小,最大
        initial-size: 5
        min-idle: 5
        maxActive: 20
        # 配置获取连接等待超时的时间
        maxWait: 60000
        # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
        timeBetweenEvictionRunsMillis: 60000
        # 配置一个连接在池中最小生存的时间,单位是毫秒
        minEvictableIdleTimeMillis: 300000
        validationQuery: SELECT 1 FROM DUAL
        testWhileIdle: true
        testOnBorrow: false
        testOnReturn: false
        # 打开PSCache,并且指定每个连接上PSCache的大小
        poolPreparedStatements: true
        maxPoolPreparedStatementPerConnectionSize: 20
        # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
        filters: stat,wall,slf4j
        # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
        connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
      datasource:
          master:
            #测试环境
            url: jdbc:mysql://scjakj-1.rwlb.cn-chengdu.rds.aliyuncs.com:3306/hospital_waste_test?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
            username: root_hwt
            password: kzmYXINmK1fuW1qBEweHbQKaKNbRC9mt
            #正式环境
            #url: jdbc:mysql://scjakj-1.rwlb.cn-chengdu.rds.aliyuncs.com:3306/medical_waste_prod?characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
            #username: root_mwp
            #password: ANdntv0DWRtV0UYS
            #driver-class-name: com.mysql.jdbc.Driver
  #redis 配置 测试环境无密码
  redis:
     database: 8
     host: 127.0.0.1
     password: 123456
     jedis:
       pool:
         max-active: 100   #最大连接数据库连接数,设 0 为没有限制
         max-idle: 500     #最大等待连接中的数量,设 0 为没有限制
         max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
         min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
       shutdown-timeout: 100ms
#mybatis plus 设置
mybatis-plus:
   mapper-locations: classpath*:cn/besteam/modules/**/xml/*Mapper.xml
   configuration:
     map-underscore-to-camel-case: true
     log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
   configuration-properties:
      admin_user_id: 1
   global-config:
      db-config:
        id-type: auto
      sql-parser-cache: true
      banner: false
 
 
sys:
  qrcode:
    magnification: 10 #二维码放大倍数
  cache:
      timeout: 1800 #单位秒. 正式环境配置为3天:259200
 
 
oss:
  accessKeyId: LTAI4FyQgM99x9JKDtcL3mp2
  accessKeySecret: 0qffirCRqugdtnKPvCXz36yvLmYLWX
  upload-endpoint:  https://oss-cn-chengdu.aliyuncs.com
  download-endpoint: https://ja-medical-service.oss-cn-chengdu.aliyuncs.com/
  bucketName: ja-medical-service
  folder: medical
 
medical:
  domain: guworks.com
  crons:
    non-collect: 0 0 7 * * ?
    non-collect-cancel: 0 0/80 * * * ?
    store-over-time: 0 0/80 * * * ?
    checkout-over-time: 0 0/80 * * * ?
    missing: 0 0/80 * * * ?
    cancel-warning-time: 0 0/80 * * * ?
    level-time: 0 0/80 * * * ?
    collect-record-summary-time: 0 0 0 * * ?
    monthly-sms-time: 0 0 8 1 * ?
    non-collect-platform: 0 0 7 * * ?
 
sms:
  accessKeyId: LTAI5t9Y3BxZj1gRDZvPjuo1
  accessKeySecret: tBidUVHBfU7gYt09BbsvZjVPPcHMcx
  signName: 医疗废物信息化
  connectTimeout: 30000
  readTimeout: 30000
  debug: false
  loginTemplateCode: SMS_192230014
 
## 视频监控
device:
  baseUrl: https://video-1.scjakj.com
  userName: scjakj
  password: 123456
 
 
#诺诺支付
nuonuo:
  appKey: 29446374
  appSecret: 746146A183984FB8
  taxnum: 91510504337743459Y
  token: 44b7bee5827993dbdf6b280mtcaxrdzs
  callbackUrl: http://47.108.162.242:${server.port}${server.servlet.context-path} #回调地址