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
17e3d17e
Commit
17e3d17e
authored
Apr 23, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/自建应用验证' into 'developer'
好办小程序id See merge request
!1192
parents
3e74bec3
2d29d276
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
WxEnterpriseQwDTO.java
...java/com/gic/haoban/manage/api/dto/WxEnterpriseQwDTO.java
+9
-0
WxEnterpriseServiceImpl.java
.../manage/service/service/impl/WxEnterpriseServiceImpl.java
+1
-0
QwUtils.java
...main/java/com/gic/haoban/manage/service/util/QwUtils.java
+8
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseQwDTO.java
View file @
17e3d17e
...
...
@@ -22,6 +22,15 @@ public class WxEnterpriseQwDTO implements Serializable {
private
String
selfSecret
;
// 自建请求地址
private
String
urlHost
;
private
String
selfAppid
;
public
String
getSelfAppid
()
{
return
selfAppid
;
}
public
void
setSelfAppid
(
String
selfAppid
)
{
this
.
selfAppid
=
selfAppid
;
}
public
String
getUrlHost
()
{
return
urlHost
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WxEnterpriseServiceImpl.java
View file @
17e3d17e
...
...
@@ -112,6 +112,7 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
qw
.
setSelfSecret
(
secret
.
getSecretVal
());
qw
.
setAgentId
(
secret
.
getAgentId
());
qw
.
setAgentName
(
secret
.
getAgentName
());
qw
.
setSelfAppid
(
wxEnterprise
.
getWxaAppid
());
}
logger
.
info
(
"企微所有corpid信息={}"
,
JSON
.
toJSON
(
qw
));
return
qw
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/util/QwUtils.java
View file @
17e3d17e
...
...
@@ -11,4 +11,12 @@ public class QwUtils {
}
return
secret
;
}
public
static
String
getHbAppid
(
WxEnterpriseQwDTO
qwDTO
,
String
thirdAppid
)
{
String
appid
=
thirdAppid
;
if
(
qwDTO
.
isSelf
())
{
appid
=
qwDTO
.
getSelfAppid
();
}
return
appid
;
}
}
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