server: port: 8080 max-http-header-size: 10240 spring: application: name: guns profiles: active: @spring.active@ mvc: view: prefix: /pages servlet: multipart: max-request-size: 8GB max-file-size: 8GB jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss locale: zh_CN serialization: indent_output: false flyway: enabled: true locations: classpath:db/migration/mysql # 当迁移时发现目标schema非空,而且带有没有元数据的表时,是否自动执行基准迁移 baseline-on-migrate: true # 是否允许无序的迁移 开发环境最好开启, 生产环境关闭 out-of-order: true # 关闭占位符替换,因为插入的sql里边可能包含${}关键字 placeholder-replacement: false # 资源扫描 scanner: open: true # 日志记录 sys-log: # db-数据库,file-文件 type: db file-save-path: _sys_logs mybatis-plus: mapper-locations: classpath*:cn/stylefeng/**/mapping/*.xml configuration: map-underscore-to-camel-case: true cache-enabled: true lazy-loading-enabled: true multiple-result-sets-enabled: true global-config: banner: false enable-sql-runner: true db-config: id-type: assign_id table-underline: true # 单点登录开关 sso: openFlag: false sso-client-type: server # 登录时,密码对称加密的秘钥 # 可以用如下代码,从新生成秘钥对: # RSA rsa = new RSA();rsa.getPublicKeyBase64();rsa.getPrivateKeyBase64(); guns: password: rsa: public-key: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCochIaKWEh6IIK1pJQcJPsYhZ2AJmGNc12XeC2lsj3dHkMO9vGrXN4ZJiN3qNLlO3hERtY0UZdN8Uz18zoiL60XoOclMuuwf1TwiMA3/4Vy2NOaQdX/RgLQ8XiRobVPLMe/JTteZ6eoPrWVC5jf4kdWD7LWwgdWrnzGs/4UiWnsQIDAQAB private-key: MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAKhyEhopYSHoggrWklBwk+xiFnYAmYY1zXZd4LaWyPd0eQw728atc3hkmI3eo0uU7eERG1jRRl03xTPXzOiIvrReg5yUy67B/VPCIwDf/hXLY05pB1f9GAtDxeJGhtU8sx78lO15np6g+tZULmN/iR1YPstbCB1aufMaz/hSJaexAgMBAAECgYB7SgK141O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