Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-api
Commits
2a02d0ff
Commit
2a02d0ff
authored
Jan 08, 2025
by
gaoyingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 配置文件
parent
9c566ffa
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
110 deletions
+52
-110
application-common.yml
config/application-common.yml
+17
-33
application-dev-conf.yml
config/application-dev-conf.yml
+3
-30
application-spbt.yml
config/application-spbt.yml
+29
-13
application-test-conf.yml
config/application-test-conf.yml
+1
-30
application.yml
config/application.yml
+2
-4
No files found.
config/application-common.yml
View file @
2a02d0ff
...
...
@@ -18,6 +18,17 @@ mybatis-plus:
logic-delete-value
:
1
# 逻辑已删除值(默认为 1)
logic-not-delete-value
:
0
# 逻辑未删除值(默认为 0)
jwt
:
header
:
Authorization
secret
:
mySecret
expiration
:
604800
tokenHead
:
"
Bearer
"
route
:
authentication
:
path
:
"
/login"
refresh
:
"
/refresh"
register
:
"
/register"
# ------------spring component------------------
spring
:
main
:
...
...
@@ -78,9 +89,6 @@ spring:
max-idle
:
16
max-wait
:
300ms
min-idle
:
8
mongodb
:
uri
:
mongodb://${cy_mongodb.username}:${cy_mongodb.password}@${cy_mongodb.ip}:${cy_mongodb.port}/${cy_mongodb.db}?authSource=${cy_mongodb.authDb}
transactionEnabled
:
true
# 5. rdbms
datasource
:
...
...
@@ -100,14 +108,6 @@ spring:
password
:
${cy_db.password}
minio
:
endpoint
:
${cy_minio.endpoint}
writeAccessKey
:
${cy_minio.writeAccessKey}
writeSecretKey
:
${cy_minio.writeSecretKey}
readAccessKey
:
${cy_minio.readAccessKey}
readSecretKey
:
${cy_minio.readSecretKey}
springdoc
:
swagger-ui
:
path
:
/swagger-ui.html
...
...
@@ -182,26 +182,10 @@ snowflake:
nodeId
:
${SNOWFLAKE_NODE_ID:00000}
rocketmq
:
# 服务地址,多个用逗号分开
name-server
:
${cy_rocketMq.ns}
producer
:
# 发送消息超时时间,默认3000
send-message-timeout
:
30000
# 生产者组
group
:
springboot_producer_group
# 发送消息失败重试次数,默认2
retryTimesWhenSendFailed
:
2
# 异步消息重试此处,默认2
retryTimesWhenSendAsyncFailed
:
2
# 消息最大长度,默认1024 * 1024 * 4(默认4M)
maxMessageSize
:
4096
# 压缩消息阈值,默认4k(1024 * 4)
compressMessageBodyThreshold
:
4096
# 是否在内部发送失败时重试另一个broker,默认false
retryNextServer
:
false
consumer
:
group
:
springboot_consumer_group
# 一次拉取消息最大值,注意是拉取消息的最大值而非消费最大值
pull-batch-size
:
10
global
:
path
:
fileUploadFormatRestrictions
:
"
.exe,.php,.asp,.jsp,.aspx"
code_generate_location
:
/code
temp_location
:
/temp
config/application-dev-conf.yml
View file @
2a02d0ff
...
...
@@ -70,35 +70,10 @@ cy:
# 是否开启登录拦截
secure
:
false
security
:
enable
:
true
permission
:
false
defaultFilter
:
true
gateway
:
false
acAllowOrigin
:
'
*'
acAllowMethods
:
'
POST,
GET,
OPTIONS,
DELETE,PUT'
acAllowHeaders
:
'
*'
permit-all
:
permitUnStatic
:
-
"
/static/**"
-
"
/webjars/**"
-
"
/v3/**"
-
"
/swagger-resources/**"
-
"
/api-docs/**"
-
"
/auth/**"
-
"
/code/**/**"
-
"
/excelUtil/**"
-
"
/captcha/**"
#- "/cros/**"
-
"
/nlttest/add/**"
-
"
/common/getKSA"
-
"
/office/getFile"
-
"
/office/callback"
-
"
/app/open/**"
-
"
/app/wxMiniApp/**"
permitStatic
:
[
"
/"
,
"
/*.html"
,
"
/favicon.ico"
,
"
/**/*.html"
,
"
/**/*.js"
,
"
/**/*.css"
,
"
/swagger-ui/*"
]
logoutSuccessUrl
:
"
/login"
loginPage
:
"
/login"
loginfailureUrl
:
"
/login-error.html"
-
"
/**/**"
# 注册
register
:
...
...
@@ -163,9 +138,6 @@ global:
path
:
base_upload_location
:
D:\soft\nginx-1.24.0\html\upload
base_discovery
:
'
http://192.168.1.80/upload/'
fileUploadFormatRestrictions
:
"
.exe,.php,.asp,.jsp,.aspx"
code_generate_location
:
/code
temp_location
:
/temp
code
:
admin
:
ROLE_1001
resetPassword
:
123456
...
...
@@ -174,6 +146,7 @@ global:
endpoint
:
"
oss-cn-beijing.aliyuncs.com"
putAcessKey
:
putSecretKey
:
expirationTime
:
1800
logging
:
config
:
./config/logback-spring.xml
...
...
config/application-spbt.yml
View file @
2a02d0ff
#---------------------自定义配置----------------------------
jwt
:
header
:
Authorization
secret
:
mySecret
expiration
:
604800
tokenHead
:
"
Bearer
"
route
:
authentication
:
path
:
"
/login"
refresh
:
"
/refresh"
register
:
"
/register"
cy
:
systemName
:
"
91isoft"
init
:
...
...
@@ -51,8 +41,6 @@ cy:
fileStorage
:
model
:
local
fileTemplate
:
UUID
webService
:
enable
:
true
ssl
:
enable
:
false
opeLogDb
:
...
...
@@ -109,4 +97,32 @@ cy:
stringOutputType
:
base644
#身份证、邮箱、手机号存储加密
aesSecret
:
'
PLMOKNIJBU'
security
:
enable
:
true
permission
:
false
defaultFilter
:
true
gateway
:
false
acAllowOrigin
:
'
*'
acAllowMethods
:
'
POST,
GET,
OPTIONS,
DELETE,PUT'
acAllowHeaders
:
'
*'
permit-all
:
permitUnStatic
:
-
"
/static/**"
-
"
/webjars/**"
-
"
/v3/**"
-
"
/swagger-resources/**"
-
"
/api-docs/**"
-
"
/auth/**"
-
"
/code/**/**"
-
"
/excelUtil/**"
-
"
/captcha/**"
#- "/cros/**"
-
"
/common/getKSA"
-
"
/office/getFile"
-
"
/office/callback"
-
"
/app/open/**"
-
"
/app/wxMiniApp/**"
permitStatic
:
[
"
/"
,
"
/*.html"
,
"
/favicon.ico"
,
"
/**/*.html"
,
"
/**/*.js"
,
"
/**/*.css"
,
"
/swagger-ui/*"
]
logoutSuccessUrl
:
"
/login"
loginPage
:
"
/login"
loginfailureUrl
:
"
/login-error.html"
config/application-test-conf.yml
View file @
2a02d0ff
...
...
@@ -64,33 +64,7 @@ cy:
captcha
:
1
# 是否开启登录拦截
secure
:
false
security
:
enable
:
true
permission
:
false
defaultFilter
:
true
gateway
:
false
acAllowOrigin
:
'
*'
acAllowMethods
:
'
POST,
GET,
OPTIONS,
DELETE,PUT'
acAllowHeaders
:
'
*'
permit-all
:
permitUnStatic
:
-
"
/static/**"
-
"
/webjars/**"
-
"
/v3/**"
-
"
/swagger-resources/**"
-
"
/api-docs/**"
-
"
/auth/**"
-
"
/code/**/**"
-
"
/excelUtil/**"
-
"
/captcha/**"
-
"
/office/getFile"
-
"
/office/callback"
#- "/cros/**"
-
"
/common/getKSA"
permitStatic
:
[
"
/"
,
"
/*.html"
,
"
/favicon.ico"
,
"
/**/*.html"
,
"
/**/*.js"
,
"
/**/*.css"
,
"
/swagger-ui/*"
]
logoutSuccessUrl
:
"
/login"
loginPage
:
"
/login"
loginfailureUrl
:
"
/login-error.html"
# 注册
register
:
...
...
@@ -155,9 +129,6 @@ global:
path
:
base_upload_location
:
/working/resource/eduServer/
base_discovery
:
'
http://192.168.1.12:8888/eduServer/'
fileUploadFormatRestrictions
:
"
.exe,.php,.asp,.jsp,.aspx"
code_generate_location
:
/code
temp_location
:
/temp
code
:
admin
:
ROLE_1001
resetPassword
:
123456
...
...
config/application.yml
View file @
2a02d0ff
...
...
@@ -2,7 +2,5 @@ spring:
profiles
:
active
:
dev
group
:
dev
:
dev-conf,common,spbt
prod
:
prod-conf,common,spbt
kube
:
kube-conf,common,spbt
test
:
test-conf,common,spbt
\ No newline at end of file
dev
:
spbt,dev-conf,common
test
:
spbt,test-conf,common
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment