application.yaml 2.57 KB
server:
  port: 8013

spring:
  application:
    name: project-order
  jackson:
    default-property-inclusion: NON_NULL
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  cloud:
    nacos:
      discovery:
        server-addr: 192.168.0.62:8848
        group: project
      config:
        server-addr: 192.168.0.62:8848
        group: project
        file-extension: yaml
        import-check:
          # no config file
          enabled: false
  config:
    import:
      - nacos:redis-config.yaml?group=project&refreshEnabled=true
      - nacos:bean-kafka-config.yaml?group=project&refreshEnabled=true
  #config:
  #  import:
  #   - optional:nacos:project-order.yaml
  #   - optional:nacos:datasource-config.yaml
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.0.62:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
    username: root
    password: boxi_dev_0725
    type: com.alibaba.druid.pool.DruidDataSource
  profiles:
    active: dev
#seata:
#  application-id: ${spring.application.name}
#  tx-service-group: ${spring.application.name}-group
#  service:
#    vgroup-mapping:
#      project-order-group: default
#    grouplist:
#      default: seata-server:8091

mybatis-plus:
  global-config:
    db-config:
      id-type: auto
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

sentry:
  dsn: http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8

  # Set traces_sample_rate to 1.0 to capture 100%
  # of transactions for performance monitoring.
  # We recommend adjusting this value in production.
  tracesSampleRate: 1.0
  exception-resolver-order: -2147483647

SaaS:
  urlBack: http://119.3.39.114:8034
  url: http://119.3.39.114:8100
  ak: 216d013687ba46f5ad990e9380ec56c6
  userAccount: 1YL+MfLj/Oy70Dvbvn3mYg==
  userPassword: EDcMZqTNwRv/ZvGJ8KG+bg==
  encryptionPassWord: ceshidt123456!@#
bean:
  server: https://bean-test.bshg.com.cn
  app-key: eDZEhTCxAcM9paRfwPjAM7RGkfmbf15S_PEA
  secret-key: 9kB3ESrYhh8A08nta7CjnYn2Jw1wAEXH_PEA

scheduler:
  init-engineer-capacity:
    # 每天22点1次
    cron-expr: 0 0 22 * * ?
    day-offset-begin: 1
    day-offset-end: 20
    rewrite-force: true

  calc-engineer-capacity:
    # 8-20点,每30分钟1次
    cron-expr: 0 */30 1-23 * * ?
    day-offset-begin: 0
    day-offset-end: 20

  calc-org-capacity:
    # 每小时两次, 分别于10分以及 40分执行
    cron-expr: 0 10,40 * * * ?
    day-offset-begin: 0
    day-offset-end: 20

  service-msg: 0 0 11,17 * * ?

logging:
  level:
    root: info
    org.hibernate.type.descriptor.sql.BasicBinder: trace