作者 韦绍镭

‘提交配置文件

  1 +亦如项目配置文件
  1 +# 加解密根密码
  2 +jasypt:
  3 + encryptor:
  4 + password: trobs #根密码
  5 +# redis 相关
  6 +spring:
  7 + redis:
  8 + host: redis.shippingself.com
  9 + port: 6379
  10 + password: u1*1e2aaVwNJ
  11 + database: 5
  12 + rabbitmq:
  13 + host: rabbitmq.shippingself.com
  14 + port: 5672
  15 + username: logisticsadmin
  16 + password: Logadmin@1112
  17 + servlet:
  18 + multipart:
  19 + max-file-size: 1000MB
  20 + max-request-size: 1000MB
  21 +
  22 +# 暴露监控端点
  23 +management:
  24 + endpoints:
  25 + web:
  26 + exposure:
  27 + include: '*'
  28 +
  29 +# feign 配置
  30 +feign:
  31 + hystrix:
  32 + enabled: true
  33 + okhttp:
  34 + enabled: true
  35 + httpclient:
  36 + enabled: false
  37 + client:
  38 + config:
  39 + feignName:
  40 + connectTimeout: 20000
  41 + readTimeout: 20000
  42 + compression:
  43 + request:
  44 + enabled: true
  45 + response:
  46 + enabled: true
  47 +# hystrix If you need to use ThreadLocal bound variables in your RequestInterceptor`s
  48 +# you will need to either set the thread isolation strategy for Hystrix to `SEMAPHORE or disable Hystrix in Feign.
  49 +hystrix:
  50 + command:
  51 + default:
  52 + execution:
  53 + isolation:
  54 + strategy: SEMAPHORE
  55 + thread:
  56 + timeoutInMilliseconds: 60000
  57 + shareSecurityContext: true
  58 +
  59 +#请求处理的超时时间
  60 +ribbon:
  61 + ReadTimeout: 20000
  62 + ConnectTimeout: 20000
  63 +
  64 +# mybaits-plus配置
  65 +mybatis-plus:
  66 + # MyBatis Mapper所对应的XML文件位置
  67 + mapper-locations: classpath:/mapper/**/*Mapper.xml
  68 + global-config:
  69 + # 自动刷新Mapper对应的XML文件
  70 + refresh: true
  71 + # 关闭MP3.0自带的banner
  72 + banner: false
  73 + sql-parser-cache: true
  74 + db-config:
  75 + # 主键类型 0:数据库ID自增 1.未定义 2.用户输入 3 id_worker 4.uuid 5.id_worker字符串表示
  76 + id-type: 0
  77 + #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
  78 + field-strategy: 1
  79 + # 默认数据库表下划线命名
  80 + table-underline: true
  81 + # 逻辑删除配置
  82 + # 逻辑删除全局值(1表示已删除,这也是Mybatis Plus的默认配置)
  83 + logic-delete-value: 1
  84 + # 逻辑未删除全局值(0表示未删除,这也是Mybatis Plus的默认配置)
  85 + logic-not-delete-value: 0
  86 + configuration:
  87 + map-underscore-to-camel-case: true
  88 +
  89 +#swagger公共信息
  90 +swagger:
  91 + title: Trobs Swagger API
  92 + description: 亦如ERP开放API说明文档
  93 + version: 2.9.2
  94 + license: Powered By Trobs
  95 + licenseUrl: http://oms.shippingself.com
  96 + terms-of-service-url: http://oms.shippingself.com
  97 + host: 192.168.29.13
  98 + contact:
  99 + name: Aukey IT
  100 + email: tslcarmack@gmail.com
  101 + url: http://oms.shippingself.com
  102 + authorization:
  103 + name: Trobs OAuth
  104 + auth-regex: ^.*$
  105 + authorization-scope-list:
  106 + - scope: server
  107 + description: server all
  108 + token-url-list:
  109 + - http://logistics-auth/oauth/token
  110 +
  111 +## spring security 配置
  112 +security:
  113 + oauth2:
  114 + client:
  115 + # 默认放行url,如果子模块重写这里的配置就会被覆盖
  116 + ignore-urls:
  117 + #- '/actuator/**'
  118 + - '/v2/api-docs'
  119 + - '/swagger**'
  120 + - '/swagger**/**'
  121 + - '/webjars/springfox-swagger-ui/**'
  122 + - '/externalApi/**'
  123 + resource:
  124 + loadBalanced: true
  125 + token-info-uri: http://logistics-auth/oauth/check_token
  126 +##首页
  127 +trobs:
  128 + index: http://oms.shippingself.com
  129 +##ftp服务器
  130 +aukey:
  131 + ftp:
  132 + host: ftp.shippingself.com
  133 + port: 21
  134 + username: logistics
  135 + password: ot6gZbVaCJpS
  136 + binaryTransfer: true
  137 + localActive: false
  138 +
  139 +
  1 +# 数据源
  2 +spring:
  3 + datasource:
  4 + type: com.zaxxer.hikari.HikariDataSource
  5 + driver-class-name: com.mysql.cj.jdbc.Driver
  6 + username: logitmp
  7 + password: hwEEygZxFm%f
  8 + url: jdbc:mysql://94.74.101.156:3306/logistics?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
  9 + freemarker:
  10 + allow-request-override: false
  11 + allow-session-override: false
  12 + cache: true
  13 + charset: UTF-8
  14 + check-template-location: true
  15 + content-type: text/html
  16 + enabled: true
  17 + expose-request-attributes: false
  18 + expose-session-attributes: false
  19 + expose-spring-macro-helpers: true
  20 + prefer-file-system-access: true
  21 + suffix: .ftl
  22 + template-loader-path: classpath:/templates/
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 +
  21 +# 数据源
  22 +spring:
  23 + datasource:
  24 + type: com.zaxxer.hikari.HikariDataSource
  25 + driver-class-name: com.mysql.cj.jdbc.Driver
  26 + username: logitmp
  27 + password: hwEEygZxFm%f
  28 + url: jdbc:mysql://94.74.101.156:3306/logistics_common?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&serverTimezone=GMT%2B8
  29 +
  30 +# swagger相关配置,覆盖全局配置
  31 +swagger:
  32 + authorization:
  33 + authorization-scope-list:
  34 + - scope: 'server'
  35 + description: 'server all'
  36 + - scope: 'read'
  37 + description: 'read all'
  38 + - scope: 'write'
  39 + description: 'access all'
  40 +# Logger Config
  41 +logging:
  42 + level:
  43 + com.logistics4cloud.logistics.fee.mapper: debug
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(9VO7qHAzPkVkSEYMDLVJxA==)
  6 + client-secret: ENC(9VO7qHAzPkVkSEYMDLVJxA==)
  7 + scope: server
  8 +# 数据源配置
  9 +spring:
  10 + datasource:
  11 + type: com.zaxxer.hikari.HikariDataSource
  12 + driver-class-name: com.mysql.cj.jdbc.Driver
  13 + username: logitmp
  14 + password: hwEEygZxFm%f
  15 + url: jdbc:mysql://94.74.101.156:3306/logistics?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
  16 + resources:
  17 + static-locations: classpath:/static/,classpath:/views/
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 +
  21 +# 数据源
  22 +spring:
  23 + datasource:
  24 + type: com.zaxxer.hikari.HikariDataSource
  25 + driver-class-name: com.mysql.cj.jdbc.Driver
  26 + username: logitmp
  27 + password: hwEEygZxFm%f
  28 + url: jdbc:mysql://94.74.101.156:3306/logistics?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&serverTimezone=GMT%2B8
  29 +
  30 +# swagger相关配置,覆盖全局配置
  31 +swagger:
  32 + authorization:
  33 + authorization-scope-list:
  34 + - scope: 'server'
  35 + description: 'server all'
  36 + - scope: 'read'
  37 + description: 'read all'
  38 + - scope: 'write'
  39 + description: 'access all'
  40 +# Logger Config
  41 +logging:
  42 + level:
  43 + com.logistics4cloud.logistics.charges.mapper: debug
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(9VO7qHAzPkVkSEYMDLVJxA==)
  6 + client-secret: ENC(9VO7qHAzPkVkSEYMDLVJxA==)
  7 + scope: server
  8 +# 数据源配置
  9 +spring:
  10 + datasource:
  11 + type: com.zaxxer.hikari.HikariDataSource
  12 + driver-class-name: com.mysql.cj.jdbc.Driver
  13 + username: logitmp
  14 + password: hwEEygZxFm%f
  15 + url: jdbc:mysql://94.74.101.156:3306/logistics?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
  16 + resources:
  17 + static-locations: classpath:/static/,classpath:/views/
  18 +
  19 +#smb文件服务器地址
  20 +aukey:
  21 + ftp:
  22 + host: ftp.shippingself.com
  23 + port: 21
  24 + username: logistics
  25 + password: ot6gZbVaCJpS
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 +
  21 +# 数据源
  22 +spring:
  23 + datasource:
  24 + type: com.zaxxer.hikari.HikariDataSource
  25 + driver-class-name: com.mysql.cj.jdbc.Driver
  26 + username: logitmp
  27 + password: hwEEygZxFm%f
  28 + url: jdbc:mysql://94.74.101.156:3306/logistics?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&serverTimezone=GMT%2B8
  29 +
  30 +# swagger相关配置,覆盖全局配置
  31 +swagger:
  32 + authorization:
  33 + authorization-scope-list:
  34 + - scope: 'server'
  35 + description: 'server all'
  36 + - scope: 'read'
  37 + description: 'read all'
  38 + - scope: 'write'
  39 + description: 'access all'
  40 +# Logger Config
  41 +logging:
  42 + level:
  43 + com.logistics4cloud.logistics.fee.mapper: debug
  1 +spring:
  2 + cloud:
  3 + gateway:
  4 + locator:
  5 + enabled: true
  6 +
  7 +security:
  8 + encode:
  9 + # 前端密码密钥,必须16位
  10 + key: 'tsourceofbenefit'
  11 +
  12 +# 不校验验证码终端
  13 +ignore:
  14 + clients:
  15 + - trobs
  16 + - test
  17 + - baiyi
  18 + swagger-providers:
  19 + - trobs-auth
  20 + - trobs-tx-manager
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 + - '/externalApi/**'
  21 +
  22 +# 数据源
  23 +spring:
  24 + datasource:
  25 + type: com.zaxxer.hikari.HikariDataSource
  26 + driver-class-name: com.mysql.cj.jdbc.Driver
  27 + username: logitmp
  28 + password: hwEEygZxFm%f
  29 + url: jdbc:mysql://94.74.101.156:3306/logistics_integration?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
  30 +
  31 +# swagger相关配置,覆盖全局配置
  32 +swagger:
  33 + authorization:
  34 + authorization-scope-list:
  35 + - scope: 'server'
  36 + description: 'server all'
  37 + - scope: 'read'
  38 + description: 'read all'
  39 + - scope: 'write'
  40 + description: 'access all'
  41 +# Logger Config
  42 +logging:
  43 + level:
  44 + com.logistics4cloud.logistics.integration.api.mapper: debug
  45 +#4px固定参数
  46 +integration:
  47 + fourpx:
  48 + inStockProperties:
  49 + isPickup: 'N' #是否上门提货 Y (上门提货)
  50 + country: 'CN' #国家;国家二字码
  51 + totalVolume: 0.008 #单箱体积 默认0.008立方米
  52 + totalWeight: 10
  53 + ocustomsService: 'D1' #出口报关类型 D1(客户自行出口报关)
  54 + printBoxNo: 'Y' #是否贴箱唛 Y (贴箱唛)
  55 + printBoxType: 'P' #箱唛类型 P(贴4px箱唛)
  56 + productProperties:
  57 + includeBattery: 'Y' #是否带电 Y(是)
  58 + batteryConfig: 'NB' #电池配置 NB (其他)
  59 + batteryType: 'OT' #电池类型 OT (其他)
  60 + batteryPower: 1000 #电池功率
  61 + batteryNumber: 1 #电池数量
  62 + wrapping: 'H' #商品包装,商品包装的属性 H (硬包装)
  63 + appearance: 'RS' #商品外观 RS (长方体)
  64 + logisticsPackage: 'Y' #自带物流包装 Y(是)
  65 + packageMaterial: 'PA' #包装材质 PA (纸质)
  66 + declareProperties:
  67 + declareCategoryId: 601084 #申报品名类目ID
  68 + specification: '长方体' #申报产品规格
  69 + originCountry: 'CN' #申报产品原产地
  70 + brand: '其他' #申报产品品牌
  71 + declareType: 'I' #清关类型 I(进口)
  72 + currency: 'USD' #申报币别
  73 + declareCountry: 'A' #清关国家 A 代表 ALL
  74 + outStockProperties:
  75 + consignmentType: 'S' #委托类型 S(标准出库)
  76 + stockQuality: 'G' #SKU库存质量 G(良好)
  77 + cancelType: 'OT' #取消原因类型 OT(其它原因)
  78 +
  1 +spring:
  2 + # 安全配置
  3 + security:
  4 + user:
  5 + name: ENC(IQrPwkxzG8uwE7Oy9UEM0g==) # trobs
  6 + password: ENC(IQrPwkxzG8uwE7Oy9UEM0g==) # trobs
  7 + boot:
  8 + admin:
  9 + ui:
  10 + resource-locations: 'classpath:/ui/,classpath:/static/'
  11 + template-location: 'classpath:/ui/'
  12 + title: 'trobs 服务状态监控'
  13 + brand: 'trobs 服务状态监控'
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 + - '/externalApi/**'
  21 +
  22 +# 数据源
  23 +spring:
  24 + datasource:
  25 + type: com.zaxxer.hikari.HikariDataSource
  26 + driver-class-name: com.mysql.cj.jdbc.Driver
  27 + username: logitmp
  28 + password: hwEEygZxFm%f
  29 + url: jdbc:mysql://94.74.101.156:3306/logistics_oms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
  30 +
  31 +# swagger相关配置,覆盖全局配置
  32 +swagger:
  33 + authorization:
  34 + authorization-scope-list:
  35 + - scope: 'server'
  36 + description: 'server all'
  37 + - scope: 'read'
  38 + description: 'read all'
  39 + - scope: 'write'
  40 + description: 'access all'
  41 +# Logger Config
  42 +logging:
  43 + level:
  44 + com.logistics4cloud.logistics.overseas.warehouse.mapper: debug
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 +
  21 +# 数据源
  22 +spring:
  23 + datasource:
  24 + type: com.zaxxer.hikari.HikariDataSource
  25 + driver-class-name: com.mysql.cj.jdbc.Driver
  26 + username: logitmp
  27 + password: hwEEygZxFm%f
  28 + url: jdbc:mysql://94.74.101.156:3306/logistics_wms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&serverTimezone=GMT%2B8
  29 +
  30 +# swagger相关配置,覆盖全局配置
  31 +swagger:
  32 + authorization:
  33 + authorization-scope-list:
  34 + - scope: 'server'
  35 + description: 'server all'
  36 + - scope: 'read'
  37 + description: 'read all'
  38 + - scope: 'write'
  39 + description: 'access all'
  40 +# Logger Config
  41 +logging:
  42 + level:
  43 + com.logistics4cloud.logistics.owms.mapper: debug
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(U2RgKK76tZIVR2iCW/KAs2uaZWgNxlheBqKoD1+0KvU=)
  6 + client-secret: ENC(U2RgKK76tZIVR2iCW/KAs2uaZWgNxlheBqKoD1+0KvU=)
  7 + scope: server
  8 +# 数据源配置
  9 +spring:
  10 + datasource:
  11 + type: com.zaxxer.hikari.HikariDataSource
  12 + driver-class-name: com.mysql.cj.jdbc.Driver
  13 + username: logitmp
  14 + password: hwEEygZxFm%f
  15 + url: jdbc:mysql://10.1.1.86:3306/logistics?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
  16 + resources:
  17 + static-locations: classpath:/static/,classpath:/views/
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 +
  21 +# 数据源
  22 +spring:
  23 + datasource:
  24 + type: com.zaxxer.hikari.HikariDataSource
  25 + driver-class-name: com.mysql.cj.jdbc.Driver
  26 + username: logitmp
  27 + password: hwEEygZxFm%f
  28 + url: jdbc:mysql://94.74.101.156:3306/logistics_wms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
  29 +
  30 +# swagger相关配置,覆盖全局配置
  31 +swagger:
  32 + authorization:
  33 + authorization-scope-list:
  34 + - scope: 'server'
  35 + description: 'server all'
  36 + - scope: 'read'
  37 + description: 'read all'
  38 + - scope: 'write'
  39 + description: 'access all'
  40 +# Logger Config
  41 +logging:
  42 + level:
  43 + com.logistics4cloud.logistics.stock.mapper: debug
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 +
  21 +# 数据源
  22 +spring:
  23 + datasource:
  24 + type: com.zaxxer.hikari.HikariDataSource
  25 + driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  26 + username: logisticsdba
  27 + password: TmS9Y@Ms123L
  28 + url: jdbc:sqlserver://192.168.1.186:1433; DatabaseName=TMSHelper
  29 +
  30 +# swagger相关配置,覆盖全局配置
  31 +swagger:
  32 + authorization:
  33 + authorization-scope-list:
  34 + - scope: 'server'
  35 + description: 'server all'
  36 + - scope: 'read'
  37 + description: 'read all'
  38 + - scope: 'write'
  39 + description: 'access all'
  40 +# Logger Config
  41 +logging:
  42 + level:
  43 + com.logistics4cloud.logistics.fee.mapper: debug
  1 +# 页面配置
  2 +spring:
  3 + mvc:
  4 + static-path-pattern: /**
  5 + resources:
  6 + static-locations: classpath:/static/
  7 +
  8 +
  9 +# LCN 配置
  10 +tm:
  11 + transaction:
  12 + netty:
  13 + delaytime: 5 # 客户端链接最大通讯时间 (秒)
  14 + hearttime: 15 # 客户端心跳时间 (秒)
  15 + redis:
  16 + savemaxtime: 30 # redis 保存时间 (秒)
  17 + socket:
  18 + port: 9998 # 通讯端口
  19 + maxconnection: 1000 #最大链接数
  20 + compensate:
  21 + auto: false #是否自动补偿
  22 + notifyUrl: http://ip:port/path #补偿结果通知(配消息总线里面)
  23 + tryTime: 30 # z再次重试时间间隔
  24 + maxWaitTime: 5000 # 请求超时的最大时间 (毫秒)
  1 +## spring security 配置
  2 +security:
  3 + oauth2:
  4 + client:
  5 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  6 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  7 + scope: server
  8 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  9 + ignore-urls:
  10 + - '/actuator/**'
  11 + - '/v2/api-docs'
  12 + - '/user/info/*'
  13 + - '/social/info/*'
  14 + - '/social/getsocialbytype/*'
  15 + - '/mobile/*'
  16 + - '/log/save'
  17 + - '/swagger**'
  18 + - '/swagger**/**'
  19 + - '/webjars/springfox-swagger-ui/**'
  20 + - '/externalApi/**'
  21 +
  22 +# 数据源
  23 +spring:
  24 + datasource:
  25 + type: com.zaxxer.hikari.HikariDataSource
  26 + driver-class-name: com.mysql.cj.jdbc.Driver
  27 + username: logitmp
  28 + password: hwEEygZxFm%f
  29 + url: jdbc:mysql://94.74.101.156:3306/logistics?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
  30 +
  31 +# swagger相关配置,覆盖全局配置
  32 +swagger:
  33 + authorization:
  34 + authorization-scope-list:
  35 + - scope: 'server'
  36 + description: 'server all'
  37 + - scope: 'read'
  38 + description: 'read all'
  39 + - scope: 'write'
  40 + description: 'access all'
  41 +# Logger Config
  42 +logging:
  43 + level:
  44 + com.logistics4cloud.logistics.admin.mapper: debug
  1 +#apiKey
  2 +apiKey: 1c5883dbc1695e1e1a1d880b79dc33ed
  3 +#systemCode
  4 +systemCode: LOGISTICS_OMS
  5 +## spring security 配置
  6 +security:
  7 + oauth2:
  8 + client:
  9 + client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  10 + client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)
  11 + scope: server
  12 + # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
  13 + ignore-urls:
  14 + - '/actuator/**'
  15 + - '/v2/api-docs'
  16 + - '/user/info/*'
  17 + - '/social/info/*'
  18 + - '/social/getsocialbytype/*'
  19 + - '/mobile/*'
  20 + - '/log/save'
  21 + - '/swagger**'
  22 + - '/swagger**/**'
  23 + - '/webjars/springfox-swagger-ui/**'
  24 + - '/externalApi/**'
  25 +
  26 +# 数据源
  27 +spring:
  28 + datasource:
  29 + type: com.zaxxer.hikari.HikariDataSource
  30 + driver-class-name: com.mysql.cj.jdbc.Driver
  31 + username: logitmp
  32 + password: hwEEygZxFm%f
  33 + url: jdbc:mysql://94.74.101.156:3306/logistics_oms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
  34 +
  35 +# swagger相关配置,覆盖全局配置
  36 +swagger:
  37 + authorization:
  38 + authorization-scope-list:
  39 + - scope: 'server'
  40 + description: 'server all'
  41 + - scope: 'read'
  42 + description: 'read all'
  43 + - scope: 'write'
  44 + description: 'access all'
  45 +# Logger Config
  46 +logging:
  47 + level:
  48 + com.logistics4cloud.logistics.proxy.mapper: debug