Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
28a14a28
Commit
28a14a28
authored
Sep 05, 2023
by
tanyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新测试环境短信配置和登录有效期
parent
eb96e496
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
application-test.yml
dsk-admin/src/main/resources/application-test.yml
+3
-3
application.yml
dsk-admin/src/main/resources/application.yml
+1
-1
No files found.
dsk-admin/src/main/resources/application-test.yml
View file @
28a14a28
...
@@ -167,11 +167,11 @@ sms:
...
@@ -167,11 +167,11 @@ sms:
#请求地址 默认为 dysmsapi.aliyuncs.com 如无特殊改变可以不用设置
#请求地址 默认为 dysmsapi.aliyuncs.com 如无特殊改变可以不用设置
requestUrl
:
dysmsapi.aliyuncs.com
requestUrl
:
dysmsapi.aliyuncs.com
#阿里云的accessKey
#阿里云的accessKey
accessKeyId
:
xxxxxxx
accessKeyId
:
LTAIC4Pb2jJZbUmD
#阿里云的accessKeySecret
#阿里云的accessKeySecret
accessKeySecret
:
xxxxxxx
accessKeySecret
:
L7VANFwqaTludkczLsg9jhvidk0e28
#短信签名
#短信签名
signature
:
测试
signature
:
大司空信息科技
tencent
:
tencent
:
#请求地址默认为 sms.tencentcloudapi.com 如无特殊改变可不用设置
#请求地址默认为 sms.tencentcloudapi.com 如无特殊改变可不用设置
requestUrl
:
sms.tencentcloudapi.com
requestUrl
:
sms.tencentcloudapi.com
...
...
dsk-admin/src/main/resources/application.yml
View file @
28a14a28
...
@@ -107,7 +107,7 @@ sa-token:
...
@@ -107,7 +107,7 @@ sa-token:
# token名称 (同时也是cookie名称)
# token名称 (同时也是cookie名称)
token-name
:
Authorization
token-name
:
Authorization
# token有效期 设为一天 (必定过期) 单位: 秒
# token有效期 设为一天 (必定过期) 单位: 秒
timeout
:
864
00
timeout
:
180
00
# 多端不同 token 有效期 可查看 LoginHelper.loginByDevice 方法自定义
# 多端不同 token 有效期 可查看 LoginHelper.loginByDevice 方法自定义
# token最低活跃时间 (指定时间无操作就过期) 单位: 秒
# token最低活跃时间 (指定时间无操作就过期) 单位: 秒
active-timeout
:
18000
active-timeout
:
18000
...
...
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