application-boco.yml 3.6 KB
Newer Older
苗卫卫 committed
1 2 3 4 5 6 7 8 9 10 11 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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
datasource:
  def:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://10.12.1.17:3306/wios?useSSL=false&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
    username: root
    password: Boco@123
    #type:
    filters: stat
    maxActive: 20
    initialSize: 1
    maxWait: 30000
    minIdle: 1
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 90000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
    connection-test-query: SELECT 1 FROM DUAL
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  extdb:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://10.12.1.17:3306/warehouse?useSSL=false&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
    username: root
    password: Boco@123
    #type:
    filters: stat
    maxActive: 20
    initialSize: 1
    maxWait: 30000
    minIdle: 1
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 90000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
    connection-test-query: SELECT 1 FROM DUAL
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000

spring:
  redis:
    timeout: 10s
    host: 10.12.1.17
    port: 6379
    password: Boco1234
    database: 0
    lettuce:
      pool:
        max-active: 8
        max-wait: 1000
        max-idle: 100
        min-idle: 0
jasypt.encryptor.password: 6dc19871-5299-4603-9b7a-2d7fa78defea

swagger:
  enable: true    #系统默认为false
  serviceUrl: http://127.0.0.1:30350
  version: v2.0
  basePackage: com.boco.nbd.cams.*.controller,com.boco.nbd.wios.*.controller,com.boco.nbd.wios.export
  app:
    title: 开迈斯WIOS服务
    desc: 开迈斯WIOS服务

#流程数据源配置
activiti:
  #是否采用业务数据源
  useDefDataSource: true
  #是否创建表
  database-schema-update: true

auth:
  allowRepeatLogin: true

support:
  limit:
    pageSize: 10

api:
  v2:
    compatible: true
    log: false

url:
  api:
    wios: http://wios.api.dev.ccchong.com:8086
    push: http://push-gateway.test.k8s.star-charge.com/mts
    warehouse: http://wios-warehouse.dev.k8s.star-charge.com/
    #warehouse: http://10.8.9.86:8056/
    invoice: http://47.111.208.192:8028/mts
  h5: http://wios.2ust.com
  FILE_UPLOAD_DEFAULT_URL: https://oss-cams.oss-cn-hangzhou.aliyuncs.com/wios/

appkey:
  warehouse: MA1YDN61X
  invoice: MA1YDN61X

mina:
  appId: wxcc364b1431128ad7
  appSecret: 2cc67ec6811ccb7dbdd57c2eadb627a5

weixin:
  appId: wxe343c909cc459c6a
  appSecret: d4624c36b6795d1d99dcf0547af5443d

sms:
  aliyun:
    enable: true
    weight: 1
    endpoint: cn-hangzhou
    access-key-id: LTAI5tFo5PHXPUEGP7zrbSGe
    access-key-secret: jU3mM34HWPdPKLnao9aF1ZFURt5sj3
    sign-name: FC100000118866049
    templates:
      appointmentUser: SMS_255885013
      businessRefused: SMS_256115007
      appointmentTimeConfirm: SMS_256040012
      appointmentTimeNotify: SMS_256030017

sap:
  url: https://dev-user-vqgd2we1.it-cpi010-rt.cpi.cn40.apps.platform.sapcloud.cn
  username: sb-ed7ae553-63c3-41cb-93e7-6d9eddd35998!b904|it-rt-dev-user-vqgd2we1!b39
  password: 3bc40402-dd4b-4400-bf61-29db7a5e9968$Ly2NGHzyxV6QJ1rphkrmHAy6nBSflaLEcEFAQLCQSUI=

# flowCode 流程标识,flowSuperGroupId:流程超级用户组(存在配置)
flow:
  flowCode: CamsOrder
  flowSuperGroupId: 836764183768485111