正在显示
1 个修改的文件
包含
48 行增加
和
0 行删除
logistics-warehouse-proxy-xxl-job-prd.yml
0 → 100644
1 | +#apiKey | ||
2 | +apiKey: 2e178f40938c61f9423d17dcc5da6079 | ||
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: logistics | ||
32 | + password: ihyTb*^9P2.)Qw | ||
33 | + url: jdbc:mysql://10.1.10.105:3306/logistics_oms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&serverTimezone=GMT%2B8 | ||
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 |
-
请 注册 或 登录 后发表评论