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
fede42db
Commit
fede42db
authored
Mar 24, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:增加刷新好友后门方法
parent
0b55be49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletions
+19
-1
TestController.java
...gic/haoban/manage/web/controller/test/TestController.java
+19
-1
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/test/TestController.java
View file @
fede42db
...
@@ -12,7 +12,7 @@ import com.gic.haoban.manage.api.service.StaffApiService;
...
@@ -12,7 +12,7 @@ import com.gic.haoban.manage.api.service.StaffApiService;
import
com.gic.haoban.manage.api.service.TestApiService
;
import
com.gic.haoban.manage.api.service.TestApiService
;
import
com.gic.haoban.manage.web.controller.WebBaseController
;
import
com.gic.haoban.manage.web.controller.WebBaseController
;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.
manage.web.qo.QywxTagSyncInfoQo
;
import
com.gic.haoban.
task.manage.api.service.GroupSendOperateApiService
;
import
com.gic.member.tag.api.service.MemberTagImportDealService
;
import
com.gic.member.tag.api.service.MemberTagImportDealService
;
import
com.gic.mq.sdk.GicMQClient
;
import
com.gic.mq.sdk.GicMQClient
;
import
com.gic.sharing.core.service.api.service.MqApiService
;
import
com.gic.sharing.core.service.api.service.MqApiService
;
...
@@ -55,6 +55,9 @@ public class TestController extends WebBaseController {
...
@@ -55,6 +55,9 @@ public class TestController extends WebBaseController {
@Autowired
@Autowired
private
MemberTagImportDealService
memberTagImportDealService
;
private
MemberTagImportDealService
memberTagImportDealService
;
@Autowired
private
GroupSendOperateApiService
groupSendOperateApiService
;
/**
/**
* 创建定时器
* 创建定时器
*
*
...
@@ -174,4 +177,19 @@ public class TestController extends WebBaseController {
...
@@ -174,4 +177,19 @@ public class TestController extends WebBaseController {
memberTagImportDealService
.
run
(
JSONObject
.
toJSONString
(
taskQo
));
memberTagImportDealService
.
run
(
JSONObject
.
toJSONString
(
taskQo
));
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
}
/**
* 刷新整个企业好友
* @param wxEnterpriseId
* @return
*/
@RequestMapping
(
"/flash-friend-wxEnterpriseId"
)
public
HaobanResponse
sendMass
(
String
wxEnterpriseId
)
{
if
(
org
.
apache
.
commons
.
lang
.
StringUtils
.
isEmpty
(
wxEnterpriseId
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
// 异步调用
groupSendOperateApiService
.
sendStockMemberRelationMessage
(
wxEnterpriseId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
}
}
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