application-dev.yml 2.24 KB
Newer Older
shulidong's avatar
shulidong committed
1
server:
竹天卫's avatar
竹天卫 committed
2
  port: 7007
shulidong's avatar
shulidong committed
3 4 5 6 7 8 9

#-Dspring.config.location=D:\idea_workspases\tianjin-cement\cement-business\src\main\resources\application.yml
spring:
  application: tianjin-cement
  profiles:
    active: dev
  datasource:
10
    # 192.168.110.85   admin!@#123   sinoma_tcdri   sinoma_zhengshiData   sinoma_tmp
竹天卫's avatar
竹天卫 committed
11
    url: jdbc:mysql://192.168.110.85:3306/sinoma_zhengshiData?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
shulidong's avatar
shulidong committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
    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: 192.168.110.85
  #    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: ww348f91b2573c1867
  agentId: 1000002
  agentIdPC: 1000003
  agentSecret: gFa_7XvXtCaoeAYERzjRwwz_OTJkJfgBb8weOKjmI3o
  agentSecretPC: itCLYcwl9ggA9VfZam_iz96Ikp9StDFfVr4Adb0yY7A
  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>,'


#邦业服务器
#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>,'