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
78ddb7e7
Commit
78ddb7e7
authored
May 04, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/自建应用验证' into 'master'
Feature/自建应用验证 See merge request
!1217
parents
2ed6c4f9
555aef3f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
5 deletions
+16
-5
WxEnterpriseDTO.java
...n/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
+9
-0
WxEnterpriseServiceImpl.java
.../manage/service/service/impl/WxEnterpriseServiceImpl.java
+5
-3
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+1
-1
WxEnterpriseController.java
.../haoban/manage/web/controller/WxEnterpriseController.java
+1
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseDTO.java
View file @
78ddb7e7
...
...
@@ -109,7 +109,16 @@ public class WxEnterpriseDTO implements Serializable {
private
String
wxCorpid
;
private
String
openCorpid
;
private
String
wxaAppid
;
private
String
urlHost
;
public
String
getUrlHost
()
{
return
urlHost
;
}
public
void
setUrlHost
(
String
urlHost
)
{
this
.
urlHost
=
urlHost
;
}
public
String
getWxaAppid
()
{
return
wxaAppid
;
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WxEnterpriseServiceImpl.java
View file @
78ddb7e7
...
...
@@ -111,9 +111,11 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
qw
.
setThirdCorpid
(
wxEnterprise
.
getWxCorpid
());
qw
.
setMemberCorpid
(
wxEnterprise
.
getWxCorpid
());
TabSecretSetting
secret
=
secretSettingMapper
.
getSecretSetting
(
wxEnterpriseId
,
SecretTypeEnum
.
SELF_APP
.
getVal
(),
null
);
qw
.
setSelfSecret
(
secret
.
getSecretVal
());
qw
.
setAgentId
(
secret
.
getAgentId
());
qw
.
setAgentName
(
secret
.
getAgentName
());
if
(
null
!=
secret
)
{
qw
.
setSelfSecret
(
secret
.
getSecretVal
());
qw
.
setAgentId
(
secret
.
getAgentId
());
qw
.
setAgentName
(
secret
.
getAgentName
());
}
qw
.
setSelfAppid
(
wxEnterprise
.
getWxaAppid
());
}
qw
.
setHbWxaAppid
(
this
.
getHbAppid
(
qw
,
config
.
getAppid
()));
...
...
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
78ddb7e7
...
...
@@ -65,7 +65,7 @@
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_wx_enterprise
where wxa_appid = #{appid} and wx_security_type = 5
where wxa_appid = #{appid} and wx_security_type = 5
and status_flag = 1
</select>
<insert
id=
"insertSelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise"
>
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseController.java
View file @
78ddb7e7
...
...
@@ -209,7 +209,7 @@ public class WxEnterpriseController extends WebBaseController {
desc
=
"(第三方明文,代开密文)"
;
}
if
(
wxType
==
5
)
{
desc
=
" (自建) "
;
desc
=
" (自建
"
+
wxEnterpriseDTO
.
getWxaAppid
()
+
"/"
+
wxEnterpriseDTO
.
getUrlHost
()+
"
) "
;
}
int
newType
=
this
.
wxEnterpriseApiService
.
calcSecretType
(
wxEnterpriseId
)
;
String
diff
=
""
;
...
...
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