Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
1c01ea12
Commit
1c01ea12
authored
Jul 03, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序订阅消息跳转测试2
parent
093edf65
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SpecialPerformanceServiceImpl.java
...h/wx/impl/distribution/SpecialPerformanceServiceImpl.java
+1
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
.../java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
+2
-2
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SpecialPerformanceServiceImpl.java
View file @
1c01ea12
...
...
@@ -569,7 +569,7 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
auctionOfferNoticeMsg
.
setSpecialId
(
specialPerformance
.
getId
());
Result
result
=
sendMsgService
.
sendSpecialPerformanceStartMsg
(
auctionOfferNoticeMsg
);
if
(!
result
.
getSuccess
())
{
String
errorCode
=
JsonUtils
.
getValueByPath
(
result
.
get
Data
().
toStrin
g
(),
"errcode"
);
String
errorCode
=
JsonUtils
.
getValueByPath
(
result
.
get
Errms
g
(),
"errcode"
);
//用户为订阅消息,43101用户未订阅消息;43108并发下发消息给同一个粉丝,这两种情况表示用户不需要被通知
if
(!
"43101"
.
equals
(
errorCode
)
&&
!
"43108"
.
equals
(
errorCode
))
{
//发订阅消息送失败发短信
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
View file @
1c01ea12
...
...
@@ -246,7 +246,7 @@ public class SpecialPerformanceNoticeJob {
auctionOfferNoticeMsg
.
setSpecialId
(
specialPerformance
.
getId
());
Result
result
=
sendMsgService
.
sendSpecialPerformanceStartMsg
(
auctionOfferNoticeMsg
);
if
(!
result
.
getSuccess
())
{
String
errorCode
=
JsonUtils
.
getValueByPath
(
result
.
get
Data
().
toStrin
g
(),
"errcode"
);
String
errorCode
=
JsonUtils
.
getValueByPath
(
result
.
get
Errms
g
(),
"errcode"
);
//用户为订阅消息,43101用户未订阅消息;43108并发下发消息给同一个粉丝,这两种情况表示用户不需要被通知
if
(!
"43101"
.
equals
(
errorCode
)
&&
!
"43108"
.
equals
(
errorCode
))
{
//发订阅消息送失败发短信
...
...
@@ -272,7 +272,7 @@ public class SpecialPerformanceNoticeJob {
auctionOfferNoticeMsg
.
setSpecialId
(
specialPerformance
.
getId
());
Result
result
=
sendMsgService
.
sendSpecialPerformanceEndMsg
(
auctionOfferNoticeMsg
);
if
(!
result
.
getSuccess
())
{
String
errorCode
=
JsonUtils
.
getValueByPath
(
result
.
get
Data
().
toStrin
g
(),
"errcode"
);
String
errorCode
=
JsonUtils
.
getValueByPath
(
result
.
get
Errms
g
(),
"errcode"
);
//用户为订阅消息,43101用户未订阅消息;43108并发下发消息给同一个粉丝,这两种情况表示用户不需要被通知
if
(!
"43101"
.
equals
(
errorCode
)
&&
!
"43108"
.
equals
(
errorCode
))
{
//发订阅消息送失败发短信
...
...
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