application.yml 2.6 KB
Newer Older
shulidong's avatar
shulidong committed
1
server:
2 3
  port: 7012
basename: sinoma_bangye
shulidong's avatar
shulidong committed
4
spring:
竹天卫's avatar
竹天卫 committed
5
  application: tianjin
shulidong's avatar
shulidong committed
6
  profiles:
shulidong's avatar
shulidong committed
7
#    启动命令加上   -Dspring.config.location={文件路径}\config\application.yml
8
#    -Dspring.config.location=D:\idea_workspases\tianjin-cement\config\application.yml
竹天卫's avatar
竹天卫 committed
9
    path: /opt/cement/config/tianjin/
shulidong's avatar
shulidong committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
    active: dev
  datasource:
    # 192.168.110.85   admin!@#123
    url: jdbc:mysql://192.168.110.85:3306/${basename}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
#    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
竹天卫's avatar
竹天卫 committed
25
    host: localhost
shulidong's avatar
shulidong committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
  #    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
竹天卫's avatar
竹天卫 committed
43

44
#天津
45 46
#weixin:
#  corpId: ww348f91b2573c1867
竹天卫's avatar
竹天卫 committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
#  agentId: 1000002
#  agentIdPC: 1000003
#  agentSecret: gFa_7XvXtCaoeAYERzjRwwz_OTJkJfgBb8weOKjmI3o
#  agentSecretPC: itCLYcwl9ggA9VfZam_iz96Ikp9StDFfVr4Adb0yY7A
#  backUrl: https%3a%2f%2fccdcmtl.sinoma-tianjin.com%2flab-system
#  systemUrl: <a href=\"https://open.weixin.qq.com/connect/oauth2/authorize?appid="ww348f91b2573c1867"&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
  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>,'
63
#  systemUrl: <a href=\"https://open.weixin.qq.com/connect/oauth2/authorize?appid="ww348f91b2573c1867"&redirect_uri="https%3a%2f%2flab.wisenergy.cn%2flab-bangye"%2f&response_type=code&scope=snsapi_base&state=#wechat_redirect\">物化检测流程</a>,