Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
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
haoban3.0
haoban-manage3.0
Commits
2c4e15ba
Commit
2c4e15ba
authored
Mar 10, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
朋友圈
parent
667223f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
QwMomentPlanServiceImpl.java
.../service/service/moment/impl/QwMomentPlanServiceImpl.java
+6
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanServiceImpl.java
View file @
2c4e15ba
...
...
@@ -178,8 +178,7 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
try
{
// initTaskClerk
logger
.
info
(
"立即开始执行"
);
this
.
initTaskClerk
(
jsonObject
.
toJSONString
());
// clientInstance.sendMessage("qwMomentInitClerkMQ", jsonObject.toJSONString(),10);
clientInstance
.
sendMessage
(
"qwMomentInitClerkMQ"
,
jsonObject
.
toJSONString
(),
10
);
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
}
...
...
@@ -379,6 +378,9 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
ServiceResponse
<
String
>
resp
=
this
.
qywxSendService
.
share
(
plan
.
getWxEnterpriseId
(),
Arrays
.
asList
(
"b2ef17cce11f476b996d0b27ebadf7fb"
),
msg
,
imageList
)
;
logger
.
info
(
"发企微朋友={}"
,
JSONObject
.
toJSONString
(
resp
));
String
jobId
=
resp
.
getResult
()
;
if
(
StringUtils
.
isBlank
(
jobId
))
{
}
this
.
qwMomentPlanMapper
.
updateJobid
(
plan
.
getPlanId
(),
jobId
)
;
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseService
.
getQwInfo
(
plan
.
getWxEnterpriseId
());
ServiceResponse
<
Object
>
resp2
=
this
.
qywxExternalUserService
.
getMomentTaskResult
(
qwDTO
.
getThirdCorpid
(),
...
...
@@ -387,8 +389,9 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
if
(
null
!=
resp2
.
getResult
())
{
String
moment_id
=
resp2
.
getResult
().
toString
()
;
this
.
qwMomentPlanMapper
.
updateMomentId
(
plan
.
getPlanId
(),
moment_id
);
}
}
else
{
}
}
@Override
...
...
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