server:
  port: 8086
  servlet:
    context-path: /shinestar-server
# 需要设置外置容器的tomcat8 maxPostSize
#  tomcat:
#    max-http-form-post-size: 10MB
spring:
  servlet:
    multipart:
      max-request-size: 20MB
      max-file-size: 20MB
  datasource:
    driver-class-name: net.sf.log4jdbc.DriverSpy
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      # 连接池的配置信息
      # 初始化大小，最小，最大
      initial-size: 5
      min-idle: 5
      maxActive: 50
      # 配置获取连接等待超时的时间
      maxWait: 60000
      # 配置间隔多久才进行一次检测，检测需要关闭的空闲连接，单位是毫秒
      timeBetweenEvictionRunsMillis: 60000
      # 配置一个连接在池中最小生存的时间，单位是毫秒
      minEvictableIdleTimeMillis: 300000
      validationQuery: SELECT 1
      testWhileIdle: true
      # 获取连接时检测连接是否可用
      testOnBorrow: true
      testOnReturn: false
      # 打开PSCache，并且指定每个连接上PSCache的大小(PSCache对支持游标的数据库性能提升巨大，比如说oracle。在mysql下建议关闭。)
      poolPreparedStatements: false
      maxPoolPreparedStatementPerConnectionSize: 20
      # 配置监控统计拦截的filters，去掉后监控界面sql无法统计，'wall'用于防火墙
      filters: stat,wall
      # 通过connectProperties属性来打开mergeSql功能；慢SQL记录
      connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
      # 配置DruidStatFilter
      web-stat-filter:
        enabled: true
        url-pattern: "/*"
        exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
      # 配置DruidStatViewServlet
      stat-view-servlet:
        url-pattern: "/druid/*"
        # IP白名单(没有配置或者为空，则允许所有访问)
        allow:
        # IP黑名单 (存在共同时，deny优先于allow)
        deny:
        #  禁用HTML页面上的“Reset All”功能
        reset-enable: false
        # 登录名
        login-username: admin
        # 登录密码
        login-password: jpsoft
  devtools:
    restart:
      enabled: true
  profiles:
    active: @active.profile@
  redis:
    # Redis数据库索引（默认为0）
    database: 3
    # Redis服务器地址
    host: 127.0.0.1
    #host: 127.0.0.1
    # Redis服务器连接端口
    port: 6379
    # Redis服务器连接密码（默认为空）
    password:
    #password: 123456
    # 连接池最大连接数（使用负值表示没有限制）
    pool:
      max-active: 8
      # 连接池最大阻塞等待时间（使用负值表示没有限制）
      max-wait: -1
      # 连接池中的最大空闲连接
      max-idle: 8
      # 连接池中的最小空闲连接
      min-idle: 0
      # 连接超时时间（毫秒）
      timeout: 0
  rabbitmq:
    host: 119.36.146.59
    port: 5672
    username: admin
    password: admin
    #虚拟host 可以不设置,使用server默认host
    virtual-host: devmq
  resources:
    static-locations: classpath:/static/
  thymeleaf:
    cache: false
    mode: HTML
    prefix: classpath:/templates/
    suffix: .html
    encoding: UTF-8
    servlet:
      content-type: text/html; charset=utf-8
jwt:
  secret: WJgLLiAktNj/vCNEoz6mfAmE0btwluCTk/TnJiZOIkQ=
  header: Authorization

mybatis:
  typeAliasesPackage: com.jpsoft.shinestar.**.entity
  mapperLocations: classpath*:mapper/**/*.xml
  configuration:
    default-statement-timeout: 60

pagehelper:
  helperDialect: mysql
  reasonable: true
  supportMethodsArguments: true
  params: count=countSql

#沙箱环境
alipay:
  serviceUrl: https://openapi.alipaydev.com/gateway.do
  appId: 2016091800539045
  privateKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCZqJjnubeHgd6MVyCa+X/1Jxbxr60S3Avl6cR+x6rCQpnOEVNH6UsVm31cGp2W/rPlfJd7Kil9a0WAS2mdFhW9XDouo2jp6s+1hbtW52kwbQWjszq4WebIs97IWHxmkM3vEO3lVUd6y/Wo23sfL1d0ahEPLqkahM36zSBXaEmGzgX+8hgV25zk1tsyzwu/BAnQvOtCDYW+fP/ozz63mJ7/ScQn4Ucm3UwX92d3w+zqjUD0BjvNVQcOZwJm7FKrdsib1UVglyykaGG6M1KZj08q2ANYq+M+o//jX71JDXTpd+Uo6D+heUAKMDECXH2QzmQ2ZfSqR+eQ6t6sgH+69o2LAgMBAAECggEAWjynpxXqkNqUrkgQbtJs8bRGBiML+d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ObVTvCdG98lF2QqLfVxJ5o2pNQOHtGDTPDp30OOjRdz26Bk8o+D7Brr6V0weF6MLV2Vsa+Yr0FGeObHbTC94SJzEWobkvAqVR2luhdtagBYg==
  zfbPublicKey: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx+8b2IWa7X+crooIYaT9ZEhyZYuhlaGlpxBXjmchWIrtRIp2sOGlm7nH8oY5CAgVmZ9x8ETz5Sd+p6Z7BhPNu+uc4CmrNOEzgfUDmWp8xriNfQR1Jw+J9AhGfjgQGT2/z9aD/BdKed40VM8P3iAtg++6TnBAEKBNbWuk4tOtP3aZ2XDZyIo1K3rW+KEufQBgZvo1j5x5asj2m+/5xBLdTLxsKb5agUM4HlTaQKuoF7Z+jPnHFzQEsITzgAyc0nd26QRTfWo+bCnFKG8GHjdZrJ1wjcXdw056+jUOUyRfDE/Set72FGlVTswhETo6ayAdNRRUX/3x0EI9dx3PxkC27QIDAQAB
  inputCharset: UTF-8
  mchId: 2088102176166099
 # appAuthToken: 201906BBbc7d6558596f4bbc9f056c01b8aebX48
  signType: RSA2
  notifyUrl: http://zldb.xiaoxinda.com:8088/smart-community-server/aliPay/payNotify

wx:
#  commonAccessTokenUrl: "http://ykt.xiaoxinda.com/weixin/token"
  commonAccessTokenUrl: "https://51team.xiaoxinda.com/weixin-server/token"
  pay:
    appId: wxe598c699aa68cffe
    appSecret: ea20d2e9a36aace26b4f7654218129af
    token: weixin
    tokenUrl: "https://api.weixin.qq.com/cgi-bin/token"
    refreshOAuth2TokenUrl: "https://api.weixin.qq.com/sns/oauth2/refresh_token"
    createQrCodeUrl: "https://api.weixin.qq.com/cgi-bin/qrcode/create"
    showQrCodeUrl: "https://mp.weixin.qq.com/cgi-bin/showqrcode"
    mchId: 1500160622
    subMchId: 1505070291
    mchKey: jpsoft11111111111111111111111111
    notifyUrl: http://18891j25i6.iok.la:40309/smart-server/wxPay/payNotify
    ip: 101.37.31.116
    portalUrl: "http://xpgj.xiaoxinda.com/prod/business/#/"
  jpsoft:
    appId: wx907e84ad32e6e142
    appSecret: 1d891ee3f4cc8002ff0330d1e04acf2c
    mchId: 1509055881
    subMchId: 1523544111
    mchKey: xxd33333333333333333333333333333
    notifyUrl: http://ykt.xiaoxinda.com/wxPay/wxJsapiPayNotify
    refundUrl: http://ykt.xiaoxinda.com/wxPay/wxJsapiRefundNotify
    ip: 101.37.31.116
    certPath: /usr/local/tomcat/webapps/cert/xiaoxinda/apiclient_cert.p12
    temporaryUrl: http://ykt.xiaoxinda.com/wxPay/wxJsapiPayTemporaryNotify
    urlKey: a1
  notice:
    remindTmplCode: "6CMFjxHJA2lZWOFRKQ6tlVy2F_4Iq18EWsRCSsZbN58"
    supervisionTmplCode: "iAbFXWt_-WwYvu9CEFkTDeZwM3XoJqmB3ITIHS99WCI"
    # 测温和手表采用相同微信模板
    watchWarningTmplCode: "y5-MFu1SdP1CrdwROYhBe5qBrEsRBYWmz8CHUhhGj7g"
    temperatureWarningTmplCode: "y5-MFu1SdP1CrdwROYhBe5qBrEsRBYWmz8CHUhhGj7g"
doorApi:
  referer: http://58.54.251.155
  apiId: bl63d49fae22bf5cca
  apiKey: e52e545cb4d6c98a8a7e68b0718d3f63

#oss:
#  accessKeyId: LTAILGOo7bwpkvnq
#  accessKeySecret: ZGsaTO5klbSHxULr2Q3s2PiqKDzN15
#  endpoint: http://oss-cn-hangzhou.aliyuncs.com
#  bucketName: wzzgh2out
#  urlPrefix: http://vod.wzgh.org
#  objectPre: smart

oss:
  accessKeyId: LTAIXIyrXmjgOXQa
  accessKeySecret: B0RS3zHLct8OKKIDu2HREaVx6RXgWL
  endpoint: http://oss-cn-hangzhou.aliyuncs.com
  bucketName: rccs
#  urlPrefix: http://rccs.oss-cn-hangzhou.aliyuncs.com
  urlPrefix: http://oss.xiaoxinda.com
  objectPre: shinestar
  localPath: E:\\uniview
  localUrlPrefix: http://localhost:7070/uniview

mobile:
  unMeasureUrl: "http://xpgj.xiaoxinda.com/prod/business/#/master/health/noTemperatureRecord"
  temperatureUrl: "http://xpgj.xiaoxinda.com/prod/business/#/common/health/temperatureInfo"

electricity:
  port: 9966    #监听端口

lapi:
  port: 9988

health-watch:
  port: 8866



parking:
  userName: system
  ip: http://s1.appykt.com
  interfaceUrl : http://s1.appykt.com
  key: 1L1rR5896SJ95

#健康码接口
greencode:
  url: http://122.189.98.152/gateway/api/3/jkm2
  appKey: 721047190851551232

e-home-sdk:
  libPath: "E:\\IdeaProjects\\shinestar-server\\web\\src\\main\\resources\\ehome\\win64\\"
  picPath: "E:\\EhomePicServer"
  logPath: "E:\\IdeaProjects\\shinestar-server\\web\\logs"
  localIP: "0.0.0.0"
  remoteIP: "223.75.76.159"
  cmsUdpPort: 7660
  alarmUdpPort: 7332
  pictureServerTcpPort: 6011
  urlPrefix: "http://localhost:6011"

ys:
  tokenUrl: "https://open.ys7.com/api/lapp/token/get"
  liveAddressUrl: "https://open.ys7.com/api/lapp/live/address/limited"
  deviceInfoUrl: "https://open.ys7.com/api/lapp/device/info"
  deviceCaptureUrl: "https://open.ys7.com/api/lapp/device/capture"

aliyun:
  live:
    regionId: "cn-shanghai"
    accessKeyId: "LTAIXIyrXmjgOXQa"
    accessKeySecret: "B0RS3zHLct8OKKIDu2HREaVx6RXgWL"
    pushStreamUrl: "rtmp://pushstream.xiaoxinda.com"
    pushKey: "YgcF2BBQ2c"
    pullStreamUrl: "http://zhibo.xiaoxinda.com"
    pullKey: "WWmnko2MnW"
    screenshotUrl: "https://xpgj.oss-cn-shanghai.aliyuncs.com"
    AppName: "xpgj"

amap:
  key: "a71a4fa458ed085246ea75ebe096bbea"

healthyReport:
  noticeCron: "0 0/5 * ? * *"
  noticeTmplCode: "6CMFjxHJA2lZWOFRKQ6tlVy2F_4Iq18EWsRCSsZbN58"
  workerReportUrl: "http://xpgj.xiaoxinda.com/test/#/master/health/workerReport?token={0}"

baidu:
  key: F7MuxXEQ9LccO6SedwGDra13
  secret: GYj7D5tSZ92D2QxZLZnOYX4RMBZkKDq5