Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
c432f32e
Commit
c432f32e
authored
Jul 23, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)增加异常返回信息
parent
8f1d5037
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
DPSubServiceImpl.java
...s/boot/module/jyjc/biz/service/impl/DPSubServiceImpl.java
+6
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/DPSubServiceImpl.java
View file @
c432f32e
...
...
@@ -400,7 +400,7 @@ public class DPSubServiceImpl {
attachmentUploadDatasObj
.
put
(
"value"
,
value
);
String
accept
=
visualParams
.
getString
(
"accept"
);
String
label
=
visualParams
.
getString
(
"label"
);
if
(!
ValidationUtil
.
isEmpty
(
displayName
)
&&
(
"附件"
.
equals
(
label
)
||
"其他附件"
.
equals
(
label
))
){
if
(!
ValidationUtil
.
isEmpty
(
displayName
)){
label
=
label
+
"("
+
displayName
+
")"
;
}
attachmentUploadDatasObj
.
put
(
"label"
,
label
);
...
...
@@ -522,6 +522,11 @@ public class DPSubServiceImpl {
Object
bizResult
=
convertResult
(
JSONObject
.
parseObject
(
response
),
resultConvert
);
ResponseModel
responseModel
=
JSONObject
.
parseObject
(
response
,
ResponseModel
.
class
);
if
(
200
!=
responseModel
.
getStatus
()){
log
.
info
(
"调用第三方接口失败, 请求地址:{}"
,
apiObj
);
throw
new
RuntimeException
(
String
.
format
(
"调用第三方接口失败!"
));
}
JSONObject
ruleData
=
apiObj
.
getJSONObject
(
"ruleData"
);
if
(!
ValidationUtil
.
isEmpty
(
ruleData
))
{
String
responseSuccess
=
ruleData
.
getString
(
"responseSuccess"
).
replace
(
"data"
,
""
);
...
...
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