🔧 修改配置文件
This commit is contained in:
1 parent
f5c19f0cdc
commit
7362c5fce3
3 files changed
+17
-1
No files matched your search
@@ -70,7 +70,7 @@ mybatis-plus:
|
||||
swagger:
|
||||
title: 'PigX Swagger API'
|
||||
description: '全宇宙最牛逼的Spring Cloud微服务开发脚手架'
|
||||
version: '1.3.0'
|
||||
version: '1.4.0'
|
||||
license: 'Powered By PigX'
|
||||
licenseUrl: 'https://gitee.com/log4j/pig/wikis'
|
||||
terms-of-service-url: 'https://gitee.wang/pig/pigx'
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
## spring security 配置
|
||||
security:
|
||||
oauth2:
|
||||
client:
|
||||
client-id: daemon
|
||||
client-secret: daemon
|
||||
scope: server
|
||||
|
||||
## 定时任务
|
||||
spring:
|
||||
# 保存定时任务的数据源
|
||||
datasource:
|
||||
|
||||
@@ -46,6 +46,13 @@ spring:
|
||||
- Path=/gen/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
# 定时任务模块
|
||||
- id: pigx-daemon
|
||||
uri: lb://pigx-daemon
|
||||
predicates:
|
||||
- Path=/daemon/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
|
||||
security:
|
||||
encode:
|
||||
|
||||
Reference in new issue
Block a user