记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
9483dab6
Commit
9483dab6
authored
Oct 25, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~service:consumer.adam;
parent
602e9445
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
pom.xml
liquidnet-bus-common/liquidnet-common-sms/pom.xml
+0
-5
SmsProcessor.java
...java/com/liquidnet/common/sms/processor/SmsProcessor.java
+2
-2
pom.xml
...vice-consumer-all/liquidnet-service-consumer-adam/pom.xml
+10
-0
No files found.
liquidnet-bus-common/liquidnet-common-sms/pom.xml
View file @
9483dab6
...
...
@@ -21,10 +21,5 @@
<groupId>
com.aliyun
</groupId>
<artifactId>
dysmsapi20170525
</artifactId>
</dependency>
<dependency>
<groupId>
com.liquidnet
</groupId>
<artifactId>
liquidnet-common-base
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
liquidnet-bus-common/liquidnet-common-sms/src/main/java/com/liquidnet/common/sms/processor/SmsProcessor.java
View file @
9483dab6
package
com
.
liquidnet
.
common
.
sms
.
processor
;
import
com.alibaba.fastjson.JSON
;
import
com.aliyun.dysmsapi20170525.Client
;
import
com.aliyun.dysmsapi20170525.models.*
;
import
com.aliyun.teaopenapi.models.Config
;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Component
;
...
...
@@ -82,7 +82,7 @@ public class SmsProcessor {
boolean
isSucc
=
null
!=
smsResponseBody
&&
"OK"
.
equalsIgnoreCase
(
smsResponseBody
.
getCode
());
if
(!
isSucc
)
{
log
.
warn
(
"###发送短信API处理失败[{}]"
,
J
sonUtils
.
toJson
(
smsResponse
));
log
.
warn
(
"###发送短信API处理失败[{}]"
,
J
SON
.
toJSON
(
smsResponse
));
}
return
isSucc
;
...
...
liquidnet-bus-service/liquidnet-service-consumer-all/liquidnet-service-consumer-adam/pom.xml
View file @
9483dab6
...
...
@@ -17,6 +17,16 @@
</properties>
<dependencies>
<dependency>
<groupId>
com.liquidnet
</groupId>
<artifactId>
liquidnet-common-cache-redis
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.liquidnet
</groupId>
<artifactId>
liquidnet-common-cache-redisson
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.liquidnet
</groupId>
<artifactId>
liquidnet-common-sms
</artifactId>
...
...
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