Commit 2e007161 by 张宗强

update

parent e00033c4
server: server:
port: 9999 port: 4006
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring: spring:
rabbitmq: rabbitmq:
host: 172.17.229.83 host: 172.17.229.83
...@@ -12,84 +17,54 @@ spring: ...@@ -12,84 +17,54 @@ spring:
queue: zipkin queue: zipkin
sleuth: sleuth:
sampler: sampler:
percentage: 0.5 percentage: 1.0
http:
multipart:
enabled: true # 分库分表支持
file-size-threshold: 100MB sharding:
max-file-size: 1000MB jdbc:
max-request-size: 1000MB defaultDataSourceName:
encoding: type: com.zaxxer.hikari.HikariDataSource
charset: UTF-8 driver-class-name: com.mysql.jdbc.Driver
enabled: true username: kiss
force: true password: kiss123!@#
jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
zuul: datasource:
servlet-path: /zuul names: ds
ignoredServices: '*' ds:
host: type: com.zaxxer.hikari.HikariDataSource
connect-timeout-millis: 1800000 driver-class-name: com.mysql.jdbc.Driver
socket-timeout-millis: 1800000 username: kiss
routes: password: kiss123!@#
kiss-auth: jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
path: /auth/** #mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
serviceId: kiss-auth mybatis-plus:
stripPrefix: true mapper-locations: classpath:/mapper/*Mapper.xml
sensitiveHeaders: typeAliasesPackage: com.proudkids.admin.model.entity
kiss-upms-service: global-config:
path: /admin/** #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
serviceId: kiss-upms-service id-type: 0
stripPrefix: true #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
sensitiveHeaders: field-strategy: 1
kiss-business: #驼峰下划线转换
path: /business/** db-column-underline: true
serviceId: kiss-business #刷新mapper 调试神器
stripPrefix: true refresh-mapper: true
sensitiveHeaders: #数据库大写下划线转换
kiss-apps: #capital-mode: true
path: /apps/** configuration:
serviceId: kiss-apps map-underscore-to-camel-case: true
stripPrefix: true cache-enabled: true
sensitiveHeaders: wechat:
ratelimit: open:
key-prefix: kiss-ratelimite componentAppId: "wx0a693ececf7775d7"
enabled: true componentSecret: "591faf379dd974942cc79c9093c43c68"
repository: REDIS componentToken: "Proudkids"
behind-proxy: true componentAesKey: "DJvsl2MBMqqGRVYaAHAMQTDJvsl2MBMqqGRVYaAHAMQ"
policies: api:
kiss-upms-service: authCallbackUrl: "http://www.xiaoxiangce.proudkids.com/#/business/authWxCallback/success"
limit: 100 menu:
quota: 100 name: "小象册"
refresh-interval: 3 url: "http://www.xiaoxiangce.proudkids.com"
security:
validate:
code: true
sessions: stateless
oauth2:
resource:
loadBalanced: true
user-info-uri: http://kiss-auth/user
prefer-token-info: false
service-id: kiss-gateway
urls:
anon:
- /admin/user/upload
- /admin/user/editInfo
- /auth/**
- /admin/code/*
- /admin/user/info
- /admin/menu/userTree
- /admin/generate/**
- /swagger-resources/**
- /apps/h5/**
- /apps/share/card/**
- /apps/h5/album/detail/student/**
- /swagger-ui.html
- /*/v2/api-docs
- /swagger/api-docs
- /webjars/**
- /business/notify/**
- /business/api/**
- /business/authWxCallback/success
logging: logging:
config: classpath:logback.xml config: classpath:logback.xml
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment