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
283693d4
Commit
283693d4
authored
May 18, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刷新好友状态
parent
f10dc728
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
DealSyncOperationApiService.java
...aoban/manage/api/service/DealSyncOperationApiService.java
+9
-0
DealSyncOperationApiServiceImpl.java
...ice/service/out/impl/DealSyncOperationApiServiceImpl.java
+10
-0
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+15
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/DealSyncOperationApiService.java
View file @
283693d4
...
@@ -165,4 +165,13 @@ public interface DealSyncOperationApiService {
...
@@ -165,4 +165,13 @@ public interface DealSyncOperationApiService {
public
void
quartWxFriendClerk
(
String
res
);
public
void
quartWxFriendClerk
(
String
res
);
void
test
(
String
wxEnterpriseId
,
String
taskId
);
void
test
(
String
wxEnterpriseId
,
String
taskId
);
/**
* 获取刷新状态
*
* @param wxEnterpriseId
* @param staffId
* @return true 刷新中 false 没刷新或刷新完成
*/
public
boolean
getFreshFriendSyncTask
(
String
wxEnterpriseId
,
String
staffId
);
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/DealSyncOperationApiServiceImpl.java
View file @
283693d4
...
@@ -869,4 +869,14 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
...
@@ -869,4 +869,14 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
}
}
@Override
public
boolean
getFreshFriendSyncTask
(
String
wxEnterpriseId
,
String
staffId
)
{
String
staffLockKey
=
FRIEND_LOCK
+
staffId
;
Object
cache
=
RedisUtil
.
getCache
(
staffLockKey
);
if
(
null
==
cache
)
{
return
false
;
}
return
true
;
}
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
283693d4
...
@@ -459,6 +459,21 @@ public class ClerkController extends WebBaseController{
...
@@ -459,6 +459,21 @@ public class ClerkController extends WebBaseController{
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
}
/**
* 刷新好友状态
*
* @param staffId
* @param storeId
* @param wxEnterpriseId
* @return
*/
@HttpLimit
@RequestMapping
(
"/check-fresh-friend"
)
public
HaobanResponse
checkFreshFriend
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
)
{
boolean
freshFriendSyncTask
=
dealSyncOperationApiService
.
getFreshFriendSyncTask
(
wxEnterpriseId
,
staffId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
freshFriendSyncTask
);
}
//获取门店详情
//获取门店详情
public
boolean
isEnterpriseOver
(
String
eid
)
{
public
boolean
isEnterpriseOver
(
String
eid
)
{
...
...
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