Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
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
李丛阳
education
Commits
deaed4f3
Commit
deaed4f3
authored
Apr 27, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
d4701f43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
MTNotificationApiRequestClient.java
...common/util/outClient/MTNotificationApiRequestClient.java
+2
-4
No files found.
src/main/java/org/rcisoft/common/util/outClient/MTNotificationApiRequestClient.java
View file @
deaed4f3
...
@@ -59,9 +59,6 @@ public class MTNotificationApiRequestClient {
...
@@ -59,9 +59,6 @@ public class MTNotificationApiRequestClient {
@Value
(
"${notice.defaultUrl}"
)
@Value
(
"${notice.defaultUrl}"
)
private
String
defaultUrl
;
private
String
defaultUrl
;
@Value
(
"${appId.noticeAppId}"
)
private
Long
noticeAppId
;
@Autowired
@Autowired
private
NotificationFeignClient
notificationFeignClient
;
private
NotificationFeignClient
notificationFeignClient
;
@Autowired
@Autowired
...
@@ -190,7 +187,7 @@ public class MTNotificationApiRequestClient {
...
@@ -190,7 +187,7 @@ public class MTNotificationApiRequestClient {
log
.
debug
(
"----------------------通知-调用sendMessage接口----------------------"
+
json
);
log
.
debug
(
"----------------------通知-调用sendMessage接口----------------------"
+
json
);
try
{
try
{
ret
=
notificationFeignClient
.
sendMessage
(
mtNotificationSendReqDTO
,
"app"
,
noticeAppId
);
ret
=
notificationFeignClient
.
sendMessage
(
mtNotificationSendReqDTO
,
"app"
,
1L
);
}
catch
(
Exception
ex
)
{
}
catch
(
Exception
ex
)
{
log
.
error
(
"----------------------------------------------------调用智信通知失败!----------------------------------------------------------"
+
ex
);
log
.
error
(
"----------------------------------------------------调用智信通知失败!----------------------------------------------------------"
+
ex
);
return
false
;
return
false
;
...
@@ -200,6 +197,7 @@ public class MTNotificationApiRequestClient {
...
@@ -200,6 +197,7 @@ public class MTNotificationApiRequestClient {
if
(
ret
!=
null
&&
"M0000"
.
equals
(
ret
.
getCode
())){
if
(
ret
!=
null
&&
"M0000"
.
equals
(
ret
.
getCode
())){
log
.
info
(
"------------------------------通知-发送成功---------------------------------------"
+
ret
);
return
true
;
return
true
;
}
}
return
false
;
return
false
;
...
...
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