Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
bf6049eb
Commit
bf6049eb
authored
Feb 23, 2022
by
李健华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试xxl-job版本
parent
e08cd7c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
pom.xml
pom.xml
+1
-1
WechatFollowServiceImpl.java
...oup/xyqb/service/wechat/impl/WechatFollowServiceImpl.java
+1
-1
WechatFollowStatusJobHandler.java
.../quantgroup/xyqb/xxlJob/WechatFollowStatusJobHandler.java
+4
-4
No files found.
pom.xml
View file @
bf6049eb
...
...
@@ -414,7 +414,7 @@
<dependency>
<groupId>
com.xuxueli
</groupId>
<artifactId>
xxl-job-core
</artifactId>
<version>
2.1.
2
</version>
<version>
2.1.
0
</version>
</dependency>
</dependencies>
...
...
src/main/java/cn/quantgroup/xyqb/service/wechat/impl/WechatFollowServiceImpl.java
View file @
bf6049eb
...
...
@@ -178,7 +178,7 @@ public class WechatFollowServiceImpl implements IWechatFollowService {
// 微信公众号关注数据更新
executeWechatFollowStatus
(
""
,
period
);
// 企业微信关注数据更新
//
executeEnterpriseFollowStatus("", period);
executeEnterpriseFollowStatus
(
""
,
period
);
}
private
JsonResult
executeEnterpriseFollowStatus
(
String
s
,
String
period
)
{
...
...
src/main/java/cn/quantgroup/xyqb/xxlJob/WechatFollowStatusJobHandler.java
View file @
bf6049eb
...
...
@@ -4,18 +4,18 @@ import cn.quantgroup.xyqb.service.wechat.IWechatFollowService;
import
com.xxl.job.core.biz.model.ReturnT
;
import
com.xxl.job.core.handler.IJobHandler
;
import
com.xxl.job.core.handler.annotation.JobHandler
;
import
com.xxl.job.core.handler.annotation.XxlJob
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
@Component
public
class
WechatFollowStatusJobHandler
{
@JobHandler
(
value
=
"WechatFollowStatusJobHandler"
)
public
class
WechatFollowStatusJobHandler
extends
IJobHandler
{
@Autowired
private
IWechatFollowService
wechatFollowService
;
@
XxlJob
(
value
=
"WechatFollowStatusJobHandler"
)
@
Override
public
ReturnT
<
String
>
execute
(
String
s
)
throws
Exception
{
wechatFollowService
.
executeTask
();
return
ReturnT
.
SUCCESS
;
return
SUCCESS
;
}
}
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