spring: sleuth: sampler: percentage: 1.0 hystrix: strategy: enabled: false datasource: dynamic: primary: master datasource: master: url: jdbc:mysql://172.16.88.234:3306/callcenterdb3.0?useUnicode=true&characterEncoding=utf-8 username: root password: admin01 max-idle: 10 max-wait: 10000 min-idle: 5 initial-size: 5 validation-query: SELECT 1 test-on-borrow: false test-while-idle: true time-between-eviction-runs-millis: 18800 jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0) driver-class-name: com.mysql.jdbc.Driver autoconfigure: exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure mail: host: smtp.qq.com port: 587 username: 875160176@qq.com password: dzkwtwqzwyvubchj properties: mail: smtp: auth: true starttls: enable: true thymeleaf: prefix: classpath:/templates/ suffix: .html mode: LEGACYHTML5 encoding: UTF-8 content-type: text/html cache: false #mybatis-plus mybatis-plus: configuration: cache-enabled: true mapper-locations: classpath*:/mapper/**/*.xml #实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: ins.platform.po #typeEnumsPackage: com.baomidou.springboot.entity.enums global-config: # 数据库相关配置 db-config: #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID"; id-type: id_worker #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断" field-strategy: not_empty #驼峰下划线转换 column-underline: true #数据库大写下划线转换 #capital-mode: true #逻辑删除配置 logic-delete-value: 0 logic-not-delete-value: 1 db-type: h2 #刷新mapper 调试神器 refresh: true #工作流 bpm: rule: WorkOrderNodeRule server: port: 18020 address: record: /home/record/ saa: power: false basePackage: ins/**/po #aodFeed: # base-url: http://172.42.3.34:9001 # token: abc logging: level: debug #短信配置 sms: accessKeyId: LTAIdhCtJteymPnw accessSecret: zu2iYaMLOm1eargpedNBK0fPqH8FHI signName: 中科软系统 ai: dial-url: http://172.16.88.235:19000/ apiins: url: https://wxpb-dev.apiins.com/VideoWorld/ serviceUrl: http://112.95.154.98:8611/oms_tm/smsSend.service aliyun: accessKeyId: LTAIdhCtJteymPnw accessKeySecret: zu2iYaMLOm1eargpedNBK0fPqH8FHI appKey: A77cA5m7r84WyAEu addressKey: Axqddvzmul1y #外网获取手机归属 ascription: url: http://api.online-service.vip/phone # 高德地图appKey amap: key: ff4903d14da58237962cfa1406061d37 #内外网标识#true为内网#false为外网 network: intranet: true ################################################################################################################ ### SocketIO 配置: ################################################################################################################ socketio: redis: redisson: enabled: false server: single single: address: redis://localhost:6379 #password: Cs123456 client-name: redis connection-minimum-idle-size: 5 connection-pool-size: 50 template: enabled: false # 服务端配置 server: enabled: true ## host在本地测试可以设置为localhost或者本机IP,在Linux服务器跑可换成服务器IP #hostname: 172.42.3.167 hostname: localhost ## netty启动端口 port: 9095 # 替换默认 /socket.io 路径 context: /softPhone ## 添加头部版本信息 add-version-header: true ## Ping消息间隔(毫秒),默认25秒。客户端向服务器发送一条心跳消息间隔 ping-interval: 25000 ## Ping消息超时时间(毫秒),默认60秒,这个时间间隔内没有接收到心跳消息就会发送超时事件 ping-timeout: 60000 ## 设置最大每帧处理数据的长度,防止他人利用大数据来攻击服务器 max-frame-payload-length: 1048576 ## 设置http交互最大内容长度 max-http-content-length: 1048576 ## socket连接数大小(如只监听一个端口boss线程组为1即可) boss-threads: 1 transports: - polling - websocket worker-threads: 100 ## 协议升级超时时间(毫秒),默认10秒。HTTP握手升级为ws协议超时时间 upgrade-timeout: 15000 ## socket配置 socket-config: reuse-address: true tcp-no-delay: true so-linger: 0 ack-mode: auto allow-custom-requests: true ## sessionID 通过请求头io来获取 random-session: false