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
fc7f0999
Commit
fc7f0999
authored
Jun 27, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:会员小程序密钥修改
parent
f03b85cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+1
-6
HaoBanErrCode.java
...java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
+5
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
fc7f0999
...
@@ -392,11 +392,6 @@ public class WxEnterpriseController extends WebBaseController {
...
@@ -392,11 +392,6 @@ public class WxEnterpriseController extends WebBaseController {
SecretSettingDTO
secretSetting
=
wxEnterpriseApiService
.
getSecretSettingById
(
secretId
);
SecretSettingDTO
secretSetting
=
wxEnterpriseApiService
.
getSecretSettingById
(
secretId
);
if
(
StringUtils
.
isBlank
(
secretId
))
{
if
(
StringUtils
.
isBlank
(
secretId
))
{
secretSetting
=
new
SecretSettingDTO
();
secretSetting
=
new
SecretSettingDTO
();
}
else
{
if
(
memberSecret
.
equals
(
secretSetting
.
getSecretVal
()))
{
logger
.
info
(
"secret已经保存过"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_100017
);
}
}
}
UserDTO
user
=
qywxUserApiService
.
getSelfWorkWxUser
(
wxEnterprise
.
getCorpid
(),
memberSecret
,
getWxUserId
(
wxEnterpriseId
,
login
));
UserDTO
user
=
qywxUserApiService
.
getSelfWorkWxUser
(
wxEnterprise
.
getCorpid
(),
memberSecret
,
getWxUserId
(
wxEnterpriseId
,
login
));
secretSetting
.
setSecretType
(
SecretTypeEnum
.
MEMBER_WAPP
.
getVal
());
secretSetting
.
setSecretType
(
SecretTypeEnum
.
MEMBER_WAPP
.
getVal
());
...
@@ -412,7 +407,7 @@ public class WxEnterpriseController extends WebBaseController {
...
@@ -412,7 +407,7 @@ public class WxEnterpriseController extends WebBaseController {
}
else
{
}
else
{
secretSetting
.
setCheckFlag
(
0
);
secretSetting
.
setCheckFlag
(
0
);
wxEnterpriseApiService
.
saveSecretSetting
(
secretSetting
);
wxEnterpriseApiService
.
saveSecretSetting
(
secretSetting
);
return
resultResponse
(
HaoBanErrCode
.
ERR_100
13
);
return
resultResponse
(
HaoBanErrCode
.
ERR_100
22
);
}
}
}
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
View file @
fc7f0999
...
@@ -89,7 +89,7 @@ public enum HaoBanErrCode {
...
@@ -89,7 +89,7 @@ public enum HaoBanErrCode {
ERR_10012
(
10012
,
"企业微信不存在"
),
ERR_10012
(
10012
,
"企业微信不存在"
),
ERR_10013
(
10013
,
"secret设置失败,请确认好办助手是否设置全部可见或登录账号是否被删除"
),
ERR_10013
(
10013
,
"secret设置失败,请确认好办助手是否设置全部可见或登录账号是否被删除"
),
ERR_10014
(
10014
,
"暂存部门人员不能删除"
),
ERR_10014
(
10014
,
"暂存部门人员不能删除"
),
ERR_10015
(
10015
,
"分组已存在"
),
ERR_10015
(
10015
,
"分组已存在"
),
...
@@ -106,7 +106,10 @@ public enum HaoBanErrCode {
...
@@ -106,7 +106,10 @@ public enum HaoBanErrCode {
ERR_10030
(
10030
,
"您还不是企微的管理员,无法查看通讯录,若需查看,请联系超级管理员开通"
),
ERR_10030
(
10030
,
"您还不是企微的管理员,无法查看通讯录,若需查看,请联系超级管理员开通"
),
ERR_10031
(
10031
,
"您的门店范围不支持分组查询"
),
ERR_10031
(
10031
,
"您的门店范围不支持分组查询"
),
ERR_10021
(
10021
,
"模板关联企业不能删除"
),
ERR_10021
(
10021
,
"模板关联企业不能删除"
),
ERR_10022
(
10022
,
"secret设置失败,请确认会员小程序代开发是否设置全部可见或登录账号是否被删除"
),
ERR_100015
(
100015
,
"暂存部门不能删除"
),
ERR_100015
(
100015
,
"暂存部门不能删除"
),
ERR_100016
(
100016
,
"审核失败"
),
ERR_100016
(
100016
,
"审核失败"
),
...
...
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