Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new-project
Project
Project
Details
Activity
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
binfast
new-project
Commits
1b6efdad
Commit
1b6efdad
authored
Oct 23, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 升级配置文件
parent
a310388a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
6 deletions
+90
-6
application-dev.yml
admin/src/main/resources/application-dev.yml
+84
-0
logback-spring-dev.xml
admin/src/main/resources/logback-spring-dev.xml
+3
-3
logback-spring.xml
admin/src/main/resources/logback-spring.xml
+3
-3
No files found.
admin/src/main/resources/application-dev.yml
View file @
1b6efdad
...
...
@@ -101,5 +101,89 @@ sms:
signature
:
您的短信签名
sdk-app-id
:
您的sdkAppId
---
# 三方授权
justauth
:
enable
:
true
# 前端外网访问地址
address
:
http://localhost:80
type
:
maxkey
:
# maxkey 服务器地址
# 注意 如下均配置均不需要修改 maxkey 已经内置好了数据
server-url
:
http://sso.maxkey.top
client-id
:
876892492581044224
client-secret
:
x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8
redirect-uri
:
${justauth.address}/social-callback?source=maxkey
topiam
:
# topiam 服务器地址
server-url
:
http://127.0.0.1:1898/api/v1/authorize/y0q************spq***********8ol
client-id
:
449c4*********937************759
client-secret
:
ac7***********1e0************28d
redirect-uri
:
${justauth.address}/social-callback?source=topiam
scopes
:
[
openid
,
email
,
phone
,
profile
]
qq
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=qq
union-id
:
false
weibo
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=weibo
gitee
:
client-id
:
91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98
client-secret
:
02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac
redirect-uri
:
${justauth.address}/social-callback?source=gitee
dingtalk
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=dingtalk
baidu
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=baidu
csdn
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=csdn
coding
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=coding
coding-group-name
:
xx
oschina
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=oschina
alipay_wallet
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=alipay_wallet
alipay-public-key
:
MIIB**************DAQAB
wechat_open
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=wechat_open
wechat_mp
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=wechat_mp
wechat_enterprise
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=wechat_enterprise
agent-id
:
1000002
gitlab
:
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=gitlab
gitea
:
# 前端改动 https://gitee.com/JavaLionLi/plus-ui/pulls/204
# gitea 服务器地址
server-url
:
https://demo.gitea.com
client-id
:
10**********6
client-secret
:
1f7d08**********5b7**********29e
redirect-uri
:
${justauth.address}/social-callback?source=gitea
current
:
domain
:
http://www.test.cn:8001
\ No newline at end of file
admin/src/main/resources/logback-spring-dev.xml
View file @
1b6efdad
...
...
@@ -20,11 +20,11 @@
<property
name=
"LOG_PATTERN"
value=
"%date [%thread] %-5level [%logger{50}] %file:%line - %msg%n"
/>
<!-- 彩色日志依赖的渲染类 -->
<conversionRule
conversionWord=
"clr"
c
onverterC
lass=
"org.springframework.boot.logging.logback.ColorConverter"
/>
<conversionRule
conversionWord=
"clr"
class=
"org.springframework.boot.logging.logback.ColorConverter"
/>
<conversionRule
conversionWord=
"wex"
c
onverterC
lass=
"org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"
/>
class=
"org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"
/>
<conversionRule
conversionWord=
"wEx"
c
onverterC
lass=
"org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"
/>
class=
"org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"
/>
<!-- Console log output -->
<appender
name=
"console"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
...
...
admin/src/main/resources/logback-spring.xml
View file @
1b6efdad
...
...
@@ -20,11 +20,11 @@
<property
name=
"LOG_PATTERN"
value=
"%date [%thread] %-5level [%logger{50}] %file:%line - %msg%n"
/>
<!-- 彩色日志依赖的渲染类 -->
<conversionRule
conversionWord=
"clr"
c
onverterC
lass=
"org.springframework.boot.logging.logback.ColorConverter"
/>
<conversionRule
conversionWord=
"clr"
class=
"org.springframework.boot.logging.logback.ColorConverter"
/>
<conversionRule
conversionWord=
"wex"
c
onverterC
lass=
"org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"
/>
class=
"org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"
/>
<conversionRule
conversionWord=
"wEx"
c
onverterC
lass=
"org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"
/>
class=
"org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"
/>
<!-- Console log output -->
<appender
name=
"console"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
...
...
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