#??sensorhub spring: profiles: active: dev main: allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册 servlet: multipart: max-file-size: 50MB max-request-size: 80MB # kafka: # #kafka配置 # producer: # # Kafka服务器 # bootstrap-servers: '111.198.10.15:12502' # transaction-id-prefix: kafkaTx- # retries: 3 # acks: all # batch-size: 16384 # buffer-memory: 1024000 # consumer: # # Kafka服务器 # bootstrap-servers: '111.198.10.15:12502' # group-id: 1 # auto-offset-reset: latest # enable-auto-commit: false # max-poll-records: 3 # properties: # max: # poll: # interval: # ms: 600000 # session: # timeout: # ms: 10000 # listener: # concurrency: 4 # ack-mode: manual_immediate # missing-topics-fatal: false mybatis-plus: global-config: #字段策略 0:"所有字段都更新和插入" 1:"只更新和插入非NULL值" 2:"只更新和插入非NULL值且非空字符串" #field-strategy: 1 enable-sql-runner: true db-config: insert-strategy: not_empty update-strategy: not_empty where-strategy: not_empty logic-delete-field: valid #全局逻辑删除实体字段名 logic-delete-value: 0 #逻辑已删除值 logic-not-delete-value: 1 #逻辑未删除值 #MyBatis-Plus默认的主键策略是:ASSIGN_ID (使用了雪花算法) configuration: # 配置结果集属性为空时 是否映射返回结果 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用 map-underscore-to-camel-case: true cache-enabled: true mapper-locations: classpath*:/mapper/**/*.xml,classpath:com/casic/missiles/modular/system/dao/**/*.xml ################### spring?? ################### casic: swagger-open: false #是否开启swagger (true/false) kaptcha-open: false #是否开启登录时验证码 (true/false) muti-datasource-open: false #是否开启多数据源(true/false) spring-session-open: false #是否开启spring session,如果是多机环境需要开启(true/false) session-invalidate-time: 86400 #session失效时间(只在单机环境下生效,,多机环境在SpringSessionConfig类中配置) 单位:秒 session-validation-interval: 900 #多久检测一次失效的session(只在单机环境下生效) 单位:秒 no-login-urls: /user/login,/kaptcha,/config/baseConfig sensorhub: enable: true sensorhub: config: port: 22009 bean: "functionCallback" url: "http://127.0.0.1:7093/push/test" fileUrl: D:\casic\file\ aep: key: "ke4zM3hld29" secret: "35ykNutA1t" time-url: "https://2000035757.api.ctwing.cn/echo" base-url: "https://2000035757.api.ctwing.cn" ttl: 7200 level: 1 operator: "birmm" #代码生成器配置 code: generate: #作者 author: zt #待生成对象表名 table-name: device_latest_state,device_security,subscribe_frame_log