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
1
Merge Requests
1
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
c817b59f
Commit
c817b59f
authored
Jun 03, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secret接口更改
parent
5d0ff521
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletions
+25
-1
WxEnterpriseApiService.java
...gic/haoban/manage/api/service/WxEnterpriseApiService.java
+7
-0
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+5
-0
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+13
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/WxEnterpriseApiService.java
View file @
c817b59f
...
...
@@ -63,4 +63,11 @@ public interface WxEnterpriseApiService {
* @return
*/
List
<
SecretSettingDTO
>
listSecret
(
String
wxEnterpriseId
);
/**
* 删除
* @param secretId
* @return
*/
public
boolean
delSecretSetting
(
String
secretId
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
c817b59f
...
...
@@ -165,4 +165,9 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
public
List
<
SecretSettingDTO
>
listSecret
(
String
wxEnterpriseId
)
{
return
secretSettingService
.
listSecretSetting
(
wxEnterpriseId
);
}
@Override
public
boolean
delSecretSetting
(
String
secretId
)
{
return
secretSettingService
.
delSecretSetting
(
secretId
);
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
c817b59f
...
...
@@ -430,7 +430,19 @@ public class WxEnterpriseController extends WebBaseController{
}
//微信企业会员小程序
@IgnoreLogin
@RequestMapping
(
"member-secret-del"
)
public
HaobanResponse
delMemberSecret
(
String
secretId
)
{
if
(
org
.
apache
.
commons
.
lang3
.
StringUtils
.
isAnyBlank
(
secretId
)){
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
boolean
b
=
wxEnterpriseApiService
.
delSecretSetting
(
secretId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
b
);
}
//企业信息
@RequestMapping
(
"enterprise-is-over"
)
...
...
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