#-Dspring.config.location=D:\idea_workspases\tianjin-cement\cement-business\src\main\resources\application.yml
server:
  port: 7007
spring:
  application: tianjin-cement
  profiles:
    active: prod
  datasource:
    url: jdbc:mysql://47.93.148.213:3306/sinoma_tcdri?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: root
    password: admin!@#123
    driverClassName: com.mysql.cj.jdbc.Driver
    hikari:
      minimum-idle: 3
      maximum-pool-size: 10
      max-lifetime: 30000 #不能小于30秒,否则默认回到1800秒
      connection-test-query: SELECT 1
  redis:
    port: 6379
    host: localhost
  #    password: Wise_@123456
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
# 设置swagger用户名密码
swagger:
  basic:
    enable: false
    username: admin
    password: admin

mybatis-plus:
  # 启动时是否检查MyBatis XML文件是否存在
  check-config-location: true
  type-aliases-package: cn.wise.sc.cement.business.entity.**
  mapper-locations: classpath:/cn/wise/sc/cement/business/mapper/xml/*Mapper.xml

#正式服务器
weixin:
  corpId: wwc7ae84e6af6ba921
  agentIdPC: 1000151
  agentSecretPC: h4K-GL1y7pCADFZQ7m1tO1GOSa3zU4kGEItFknvwOAg
  agentId: 1000150
  agentSecret: zWIO_kt36d1jta3R76s6WmKFdfs2TuJ1wTQu1IXO0Fc
  backUrl: https%3a%2f%2fccdcmtl.sinoma-tianjin.com%2flab-system
  backOrcUrl: https://ccdcmtl.sinoma-tianjin.com/lab-system
  systemUrl: '<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wwc7ae84e6af6ba921&redirect_uri=U_R_L&response_type=code&scope=snsapi_base&state=#wechat_redirect">物化检测流程</a>,'

# 原始链接备份
#  systemUrl: '<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wwc7ae84e6af6ba921&redirect_uri=https%3a%2f%2fccdcmtl.sinoma-tianjin.com%2flab-system%2f&response_type=code&scope=snsapi_base&state=#wechat_redirect">物化检测流程</a>,'


#邦业服务器
#weixin:
#  corpId: ww348f91b2573c1867
#  agentId: 1000004
#  agentIdPC: 1000005
#  agentSecret: flISLojPiE1_ieO9bPgyZ4g_4O-Rr-FKzs7e7p3HEtA
#  agentSecretPC: ABagJNftdn1uOYsDLrhlCIM8jZdcTgEA9DyX6kn_-hY
#  backUrl: https%3a%2f%2flab.wisenergy.cn%2flab-bangye
#  backOrcUrl: https://lab.wisenergy.cn/lab-bangye
#  systemUrl: '<a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww348f91b2573c1867&redirect_uri=U_R_L&response_type=code&scope=snsapi_base&state=#wechat_redirect">物化检测流程</a>,'