Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
f3188fd4
Commit
f3188fd4
authored
Dec 13, 2023
by
lcl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
3abd1a3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SysConfigServiceImpl.java
...ava/com/dsk/system/service/impl/SysConfigServiceImpl.java
+2
-2
No files found.
dsk-system/src/main/java/com/dsk/system/service/impl/SysConfigServiceImpl.java
View file @
f3188fd4
...
...
@@ -154,7 +154,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
public
void
insertTenantConfig
(
SysConfig
config
)
{
//重复验证
boolean
exists
=
baseMapper
.
exists
(
Wrappers
.<
SysConfig
>
lambdaQuery
().
eq
(
SysConfig:
:
getConfigKey
,
config
.
getConfigKey
()));
if
(
exists
)
{
if
(
exists
)
{
throw
new
BeanException
(
"当前配置键已存在!"
);
}
...
...
@@ -285,7 +285,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
dskAccessTokenDto
.
put
(
"appKey"
,
appkey
);
dskAccessTokenDto
.
put
(
"appSecret"
,
appSecret
);
String
post
=
HttpUtil
.
post
(
domain
+
accessTokenAPI
,
JsonUtils
.
toJsonString
(
dskAccessTokenDto
));
String
post
=
HttpUtil
.
post
(
"https://"
+
domain
+
accessTokenAPI
,
JsonUtils
.
toJsonString
(
dskAccessTokenDto
));
Assert
.
notEmpty
(
post
,
"大司空数据accessTokenAPI响应异常"
);
log
.
info
(
"大司空数据accessToken API响应:"
+
post
);
Dict
dict
=
JsonUtils
.
parseMap
(
post
);
...
...
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