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
b751c17c
Commit
b751c17c
authored
Jun 25, 2023
by
zhangyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
dc4ad2ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
EnterpriseBussinessService.java
...com/dsk/system/dskService/EnterpriseBussinessService.java
+1
-1
EnterpriseProjectService.java
...a/com/dsk/system/dskService/EnterpriseProjectService.java
+1
-1
No files found.
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseBussinessService.java
View file @
b751c17c
...
...
@@ -66,8 +66,8 @@ public class EnterpriseBussinessService {
contentParam
.
put
(
"strategy_id"
,
mongoContentId
);
Map
<
String
,
Object
>
contentMap
=
dskOpenApiUtil
.
requestBody
(
"/mongocontent/v1/cjb/mongo_content"
,
contentParam
);
log
.
info
(
"contentData:{}"
,
JSONUtil
.
toJsonStr
(
contentMap
));
Map
contentData
=
MapUtils
.
getMap
(
contentMap
,
"data"
,
null
);
log
.
info
(
"contentData:{}"
,
JSONUtil
.
toJsonStr
(
contentData
));
if
(
200
!=
MapUtils
.
getInteger
(
contentMap
,
"code"
,
300
))
{
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseProjectService.java
View file @
b751c17c
...
...
@@ -127,8 +127,8 @@ public class EnterpriseProjectService {
contentParam
.
put
(
"strategy_id"
,
contentId
);
Map
<
String
,
Object
>
contentMap
=
dskOpenApiUtil
.
requestBody
(
"/mongocontent/v1/cjb/mongo_content"
,
contentParam
);
log
.
info
(
"contentData:{}"
,
JSONUtil
.
toJsonStr
(
contentMap
));
Map
contentData
=
MapUtils
.
getMap
(
contentMap
,
"data"
,
null
);
log
.
info
(
"contentData:{}"
,
JSONUtil
.
toJsonStr
(
contentData
));
if
(
200
!=
MapUtils
.
getInteger
(
contentMap
,
"code"
,
300
))
{
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
...
...
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