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
59596ba2
Commit
59596ba2
authored
Jul 29, 2020
by
qinxunjia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改描述
parent
4651db99
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 @
59596ba2
...
...
@@ -89,7 +89,7 @@ public class BgySmsServiceImpl implements BgySmsService {
if
(
err
.
contains
(
"成功"
))
{
return
new
CLBizResponse
(
ResponseCode
.
SUCCESS
);
}
return
new
CLBizResponse
(
ResponseCode
.
UPSTREAM_FAIL
.
getCode
(),
err
);
return
new
CLBizResponse
(
ResponseCode
.
UPSTREAM_FAIL
.
getCode
(),
StringUtils
.
isNotBlank
(
err
)
?
"碧桂园短信发送接口返回:"
+
err
:
"碧桂园短信发送接口返回空"
);
}
else
{
return
new
CLBizResponse
(
ResponseCode
.
SUCCESS
);
}
...
...
@@ -121,7 +121,7 @@ public class BgySmsServiceImpl implements BgySmsService {
String
retCode
=
retJson
.
getString
(
"ret"
);
String
retPack
=
retJson
.
getString
(
"package"
);
if
(!
sendSuccessCode
.
equals
(
retCode
))
{
return
new
CLBizResponse
(
ResponseCode
.
UPSTREAM_FAIL
.
getCode
(),
err
);
return
new
CLBizResponse
(
ResponseCode
.
UPSTREAM_FAIL
.
getCode
(),
StringUtils
.
isNotBlank
(
err
)
?
"碧桂园短信发送接口返回:"
+
err
:
"碧桂园短信发送接口返回空"
);
}
else
{
return
new
CLBizResponse
(
ResponseCode
.
SUCCESS
);
}
...
...
@@ -194,7 +194,7 @@ public class BgySmsServiceImpl implements BgySmsService {
String
data
=
Json
.
getString
(
"data"
);
return
new
CLBizResponse
(
ResponseCode
.
SUCCESS
.
getCode
(),
data
);
}
return
new
CLBizResponse
(
ResponseCode
.
UPSTREAM_FAIL
.
getCode
(),
err
);
return
new
CLBizResponse
(
ResponseCode
.
UPSTREAM_FAIL
.
getCode
(),
StringUtils
.
isNotBlank
(
err
)
?
"碧桂园模板创建接口返回:"
+
err
:
"碧桂园模板创建接口返回空"
);
}
else
{
JSONObject
Json
=
JSONObject
.
parseObject
(
retPack
);
String
data
=
Json
.
getString
(
"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