# Tomcat server: tomcat: uri-encoding: UTF-8 max-threads: 1000 min-spare-threads: 30 max-connections: 2000 port: 8018 servlet: context-path: /cell http: port: 8019 # ssl: # key-store: classpath:4145009_c.shapelight.net.pfx # key-store-password: 8n8bU823 # keyStoreType: PKCS12 spring: main: banner-mode: log allow-bean-definition-overriding: true profiles: active: dev jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 servlet: multipart: max-file-size: 1000MB max-request-size: 1000MB enabled: true file-size-threshold: 1000MB redis: database: 10 host: 192.168.10.20 port: 6379 password: 123456 # 密码(默认为空) timeout: 6000ms # 连接超时时长(毫秒) jedis: pool: max-active: 1000 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 10 # 连接池中的最大空闲连接 min-idle: 5 # 连接池中的最小空闲连接 # freemarker: # suffix: .html # request-context-attribute: request # mvc: # throw-exception-if-no-handler-found: true mqtt: username: admin password: public url: tcp://192.168.50.232:1883 keepAliveInterval: 10 client: id: web-server default: topic: topic api: http://192.168.50.232:8081 mvc: static-path-pattern: /files/** async: request-timeout: 60000 #60秒 resources: static-locations: file:/home/huangyifang/project/cell #根目录 #file: #文件上传目录(注意Linux和Windows上的目录结构不同) #uploadPath: D:/project/cell/temp global: http_flag: http file_path: static-locations: /home/huangyifang/project/cell #根目录,必须是在static-locations下 temp_dir: temp images_dir: images apk_dir: apk opt_dir: opt db_bak: db_filepath: db_bak db_name: cell_db_0511 db_username: root db_password: root db_host: localhost db_port: 3306 minio: endpoint: http://192.168.10.20:9000 port: 9000 accessKey: admin secretKey: admin@C501 bucketName: cell path: /root/minio/data/cell # minio: # endpoint: https://c.xitu3d.com:19000 # port: 19000 # accessKey: 7885444af42e4b30c518c5be17c8850b # secretKey: 0fad3477fb9f60c7be75561db967e8d7 # bucketName: cell device: appId: 8e9b941923abd appSecret: Mjk0ODIxOTcwMTQ0NjkwNzA1NDE0MzcyNjgxMTQ0MDc0MjE # endpoint: https://c.shapelight.net:19000 # port: 9000 # accessKey: 7885444af42e4b30c518c5be17c8850b # secretKey: 0fad3477fb9f60c7be75561db967e8d7 # bucketName: cell wx: appid: wxf59991f23f1f5500 secret: 30b523b2bdd7b0739b7f06e9dc1519f8 tcp_server: port: 8086 app: key: 9894480ac52e4 secret: Mjk0ODUzNzA2Mzk3NzEzMjU2OTIwOTk1NzUzMDI5MTQwNDI shapelight: cluster: false #集群配置 true集群环境 false单机环境,还需打开pom.xml里的spring-session-data-redis注释 globalSessionTimeout: 3600 #单机环境,session过期时间为60分钟 redis: open: true #是否开启redis缓存 true开启 false关闭 jwt: # 加密秘钥 secret: e6d96502596d7e7887b76646c5f615d9[api.shapelight.net] # token有效时长,7天,单位秒 604800 expire: 2592000 #expire: 30 #2592000三十天 # token有效时长,180天,单位秒 #expire: 15552000 header: token #mybatis mybatis-plus: mapper-locations: classpath*:/mapper/**/*.xml #实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: net.shapelight.modules.*.entity global-config: #数据库相关配置 db-config: #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID"; id-type: AUTO #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断" field-strategy: NOT_NULL #驼峰下划线转换 column-underline: true logic-delete-field: delete_flag #全局逻辑删除字段值 3.3.0开始支持,详情看下面。 logic-delete-value: 1 # 逻辑已删除值(默认为 1) logic-not-delete-value: 0 # 逻辑未删除值(默认为 0) banner: false #原生配置 configuration: map-underscore-to-camel-case: true cache-enabled: false call-setters-on-nulls: true jdbc-type-for-null: 'null'