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
cff5f593
Commit
cff5f593
authored
Feb 26, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业微信取消授权回调处理
parent
68d4a8c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
ApplicationController.java
...c/haoban/manage/web/controller/ApplicationController.java
+21
-0
dubbo-haoban-manage-web.xml
...3-web/src/main/webapp/WEB-INF/dubbo-haoban-manage-web.xml
+1
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/ApplicationController.java
View file @
cff5f593
...
...
@@ -12,6 +12,7 @@ import com.gic.haoban.manage.api.service.WxEnterpriseApiService;
import
com.gic.haoban.manage.web.anno.IgnoreLogin
;
import
com.gic.haoban.manage.web.config.Config
;
import
com.gic.wechat.api.service.qywx.QywxSuiteApiService
;
import
com.gic.wechat.api.service.qywx.QywxUserApiService
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -79,4 +80,24 @@ public class ApplicationController extends WebBaseController{
return
resultResponse
(
HaoBanErrCode
.
ERR_0
,
dto
);
}
@RequestMapping
(
"cancal-suite"
)
@IgnoreLogin
public
HaobanResponse
cancelSuite
(
String
corpId
,
String
suiteId
){
this
.
wxApplicationApiService
.
cancelSuite
(
corpId
,
suiteId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_0
,
"s"
);
}
@Autowired
private
QywxUserApiService
qywxUserApiService
;
@RequestMapping
(
"list-external-user"
)
@IgnoreLogin
public
Object
list
(
String
corpid
,
String
suiteid
,
String
userid
){
return
this
.
qywxUserApiService
.
listExternalUserid
(
corpid
,
suiteid
,
userid
);
}
@RequestMapping
(
"corp-external-user"
)
@IgnoreLogin
public
Object
corpuserid
(
String
corpid
,
String
suiteid
){
return
this
.
qywxUserApiService
.
listCorpExternalUser
(
corpid
,
suiteid
);
}
}
haoban-manage3-web/src/main/webapp/WEB-INF/dubbo-haoban-manage-web.xml
View file @
cff5f593
...
...
@@ -40,6 +40,7 @@
<dubbo:reference
interface=
"com.gic.wechat.api.service.qywx.QywxCorpApiService"
id=
"qywxCorpApiService"
/>
<dubbo:reference
interface=
"com.gic.dict.api.service.ManagerDictService"
id=
"managerDictService"
/>
<dubbo:reference
interface=
"com.gic.wechat.api.service.qywx.QywxSuiteApiService"
id=
"qywxSuiteApiService"
/>
<dubbo:reference
interface=
"com.gic.wechat.api.service.qywx.QywxUserApiService"
id=
"qywxUserApiService"
/>
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.WxApplicationApiService"
id=
"wxApplicationApiService"
/>
<dubbo:reference
interface=
"com.gic.haoban.communicate.api.service.valid.ValidationCodeService"
id=
"validationCodeService"
/>
...
...
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