| | |
| | | server: |
| | | tomcat: |
| | | uri-encoding: UTF-8 |
| | | max-threads: 1000 |
| | | min-spare-threads: 30 |
| | | port: 6005 |
| | | |
| | | # mysql |
| | | spring: |
| | | application: |
| | | name: oprationcenter-server |
| | | datasource: |
| | | url: jdbc:mysql://${kidgrow.datasource.ip}:3306/opration_center?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: ${kidgrow.datasource.username} |
| | | password: ${kidgrow.datasource.password} |
| | | # driver-class-name: com.mysql.jdbc.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | druid: |
| | | aop-patterns: com.kidgrow.oprationcenter.controller.*,com.kidgrow.oprationcenter.mapper.* |
| | | |
| | | eureka: |
| | | instance: |
| | | ###注册中心ip地址 |
| | | hostname: ${kidgrow.eureka.instance.hostname} |
| | | instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port} |
| | | prefer-ip-address: true |
| | | client: |
| | | serviceUrl: |
| | | defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone} |
| | | |
| | | mybatis-plus: |
| | | mapper-locations: classpath:/mapper/*.xml |
| | | #实体扫描,多个package用逗号或者分号分隔 |
| | | typeAliasesPackage: com.kidgrow.common.model |
| | | global-config: |
| | | db-config: |
| | | id-type: ASSIGN_ID |
| | | |
| | | |
| | | |
| | | kidgrow: |
| | | swagger: |
| | | base-package: com.kidgrow.oprationcenter.controller |
| | | description: 运营中心接口文档 |
| | | enabled: true |
| | | title: 运营中心 |
| | | version: 1.0 |
| | | cache-manager: |
| | | configs: |
| | | - key: menu |
| | | second: 300 |
| | | - key: user |
| | | second: 1800 |
| | | #多租户配置 |
| | | tenant: |
| | | enable: true |
| | | #多租户隔离字段 |
| | | tenantid: tenant_id |
| | | ignoreTables: |
| | | - sys_user |
| | | - sys_logger |
| | | - data_need |
| | | - business_records |
| | | - sys_feedback |
| | | - doctor_templete |
| | | ignoreSqls: |
| | | - com.kidgrow.usercenter.mapper.SysRoleMapper.findAll |
| | | |
| | | |