Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dmhub-plugin
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
qinxunjia
dmhub-plugin
Commits
a6356735
Commit
a6356735
authored
Nov 24, 2020
by
qinxunjia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志打印优化
parent
b0e21fca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
BgySmsServiceImpl.java
...m/bgy/sms/channel/bgy/service/impl/BgySmsServiceImpl.java
+3
-3
No files found.
src/main/java/com/bgy/sms/channel/bgy/service/impl/BgySmsServiceImpl.java
View file @
a6356735
...
@@ -75,7 +75,7 @@ public class BgySmsServiceImpl implements BgySmsService {
...
@@ -75,7 +75,7 @@ public class BgySmsServiceImpl implements BgySmsService {
requestParams
.
put
(
"subModule"
,
subModule
);
requestParams
.
put
(
"subModule"
,
subModule
);
requestParams
.
put
(
"content"
,
content
);
requestParams
.
put
(
"content"
,
content
);
requestParams
.
put
(
"mobile"
,
mobile
);
requestParams
.
put
(
"mobile"
,
mobile
);
log
.
info
(
"碧桂园短信接口参数:{}"
,
requestParams
);
log
.
info
(
"碧桂园短信接口参数:{}"
,
JSONObject
.
toJSONString
(
requestParams
)
);
String
retStr
=
SendSmsUtil
.
sendSmsByPost
(
url
,
JSONObject
.
toJSONString
(
requestParams
));
String
retStr
=
SendSmsUtil
.
sendSmsByPost
(
url
,
JSONObject
.
toJSONString
(
requestParams
));
log
.
info
(
"碧桂园短信接口返回信息:{}"
,
retStr
);
log
.
info
(
"碧桂园短信接口返回信息:{}"
,
retStr
);
if
(
retStr
==
null
)
{
if
(
retStr
==
null
)
{
...
@@ -109,7 +109,7 @@ public class BgySmsServiceImpl implements BgySmsService {
...
@@ -109,7 +109,7 @@ public class BgySmsServiceImpl implements BgySmsService {
requestParams
.
put
(
"subModule"
,
subModule
);
requestParams
.
put
(
"subModule"
,
subModule
);
requestParams
.
put
(
"templateId"
,
templateId
);
requestParams
.
put
(
"templateId"
,
templateId
);
requestParams
.
put
(
"data"
,
data
);
requestParams
.
put
(
"data"
,
data
);
log
.
info
(
"碧桂园短信接口参数:{}"
,
requestParams
);
log
.
info
(
"碧桂园短信接口参数:{}"
,
JSONObject
.
toJSONString
(
requestParams
)
);
String
reqStr
=
JSONObject
.
toJSONString
(
requestParams
);
String
reqStr
=
JSONObject
.
toJSONString
(
requestParams
);
String
retStr
=
SendSmsUtil
.
sendSmsByPost
(
url
,
reqStr
);
String
retStr
=
SendSmsUtil
.
sendSmsByPost
(
url
,
reqStr
);
log
.
info
(
"碧桂园短信接口返回信息:{}"
,
retStr
);
log
.
info
(
"碧桂园短信接口返回信息:{}"
,
retStr
);
...
@@ -178,7 +178,7 @@ public class BgySmsServiceImpl implements BgySmsService {
...
@@ -178,7 +178,7 @@ public class BgySmsServiceImpl implements BgySmsService {
param
.
put
(
"slxtID"
,
account
);
param
.
put
(
"slxtID"
,
account
);
param
.
put
(
"templateType"
,
templateType
);
param
.
put
(
"templateType"
,
templateType
);
log
.
info
(
"碧桂园创建模板接口参数:{}"
,
param
);
log
.
info
(
"碧桂园创建模板接口参数:{}"
,
JSONObject
.
toJSONString
(
param
)
);
String
retStr
=
HttpUtil
.
sendPost
(
BgySMSConfig
.
url
,
JSONObject
.
toJSONString
(
param
));
String
retStr
=
HttpUtil
.
sendPost
(
BgySMSConfig
.
url
,
JSONObject
.
toJSONString
(
param
));
log
.
info
(
"碧桂园创建模板接口返回信息:{}"
,
retStr
);
log
.
info
(
"碧桂园创建模板接口返回信息:{}"
,
retStr
);
if
(
retStr
==
null
)
{
if
(
retStr
==
null
)
{
...
...
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