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
2444faab
Commit
2444faab
authored
Apr 12, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
e1ee8e7a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
+6
-1
SecretTypeEnum.java
.../java/com/gic/haoban/manage/api/enums/SecretTypeEnum.java
+2
-1
SecretSettingServiceImpl.java
...manage/service/service/impl/SecretSettingServiceImpl.java
+1
-0
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+3
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/enums/SecretTypeEnum.java
View file @
2444faab
...
...
@@ -4,7 +4,8 @@ package com.gic.haoban.manage.api.enums;
* Created by hua on 2020/6/3.
*/
public
enum
SecretTypeEnum
{
CONTACT_CUSTOMER
(
1
,
"顾客联系"
),
CONTACT_CUSTOMER
(
1
,
"顾客联系--自建"
),
MEMBER_WAPP
(
4
,
"会员小程序"
),
CUSTOMIZED_APP
(
5
,
"自建代开发"
),
WEWORK_PAY
(
6
,
"企业支付"
),
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/SecretSettingServiceImpl.java
View file @
2444faab
...
...
@@ -73,6 +73,7 @@ public class SecretSettingServiceImpl implements SecretSettingService {
return
null
;
}
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseService
.
getQwInfo
(
wxEnterpriseId
)
;
// 如果是纯自建,使用自建的token
if
(
qwDTO
.
getWxSecurityType
()==
5
)
{
secretType
=
SecretTypeEnum
.
CONTACT_CUSTOMER
.
getVal
()
;
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
2444faab
...
...
@@ -205,6 +205,9 @@ public class WxEnterpriseController extends WebBaseController {
if
(
wxType
==
4
)
{
desc
=
"(第三方明文,代开密文)"
;
}
if
(
wxType
==
5
)
{
desc
=
" (自建) "
;
}
int
newType
=
this
.
wxEnterpriseApiService
.
calcSecretType
(
wxEnterpriseId
)
;
String
diff
=
""
;
if
(
null
!=
wxType
&&
wxType
.
intValue
()
!=
newType
)
{
...
...
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