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
6f1a60fe
Commit
6f1a60fe
authored
Mar 31, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业微信自动激活回调通知回调接口
parent
6cd4cb0f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
StaffApiService.java
...va/com/gic/haoban/manage/api/service/StaffApiService.java
+7
-0
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+12
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffApiService.java
View file @
6f1a60fe
...
...
@@ -330,4 +330,11 @@ public interface StaffApiService {
* 转移员工许可
*/
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
<
TransferActiveCodeDTO
>
batchTransferLicense
(
List
<
TransferActiveCodeQDTO
>
transferActiveCodeQOList
,
String
wxEnterpriseId
);
/**
* 企业微信自动激活回调通知
* @param params 回调参数
* @return
*/
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
<
Boolean
>
autoActivateCallBack
(
String
params
)
;
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
6f1a60fe
...
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.service.service.out.impl;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.api.base.commons.Constant
;
...
...
@@ -1028,4 +1029,15 @@ public class StaffApiServiceImpl implements StaffApiService {
result
.
setFailedList
(
failedList
);
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
failure
(
listServiceResponse
.
getCode
(),
listServiceResponse
.
getMessage
(),
result
);
}
@Override
public
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
<
Boolean
>
autoActivateCallBack
(
String
params
)
{
logger
.
info
(
"接收企业微信自动激活回调通知:{}"
,
JSON
.
toJSONString
(
params
));
if
(
StrUtil
.
isBlank
(
params
))
{
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
success
(
false
);
}
//todo 1、解析参数 2、刷新企业微信群列表 3、更新成员信息
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
success
(
true
);
}
}
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