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
a8c7e5ef
Commit
a8c7e5ef
authored
Mar 15, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好办消息通知
parent
77b7430d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
WxEnterpriseQwDTO.java
...java/com/gic/haoban/manage/api/dto/WxEnterpriseQwDTO.java
+10
-0
WxEnterpriseServiceImpl.java
.../manage/service/service/impl/WxEnterpriseServiceImpl.java
+1
-0
NoticeMessageApiServiceImpl.java
...rvice/service/notify/out/NoticeMessageApiServiceImpl.java
+1
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/WxEnterpriseQwDTO.java
View file @
a8c7e5ef
...
@@ -16,6 +16,8 @@ public class WxEnterpriseQwDTO implements Serializable {
...
@@ -16,6 +16,8 @@ public class WxEnterpriseQwDTO implements Serializable {
private
String
thirdCorpid
;
private
String
thirdCorpid
;
// 好办小程序应用id
// 好办小程序应用id
private
String
agentId
;
private
String
agentId
;
// 好办小程序名称
private
String
agentName
;
// 第三方使用的加密的userid
// 第三方使用的加密的userid
public
boolean
needOpenUserId3th
()
{
public
boolean
needOpenUserId3th
()
{
...
@@ -73,4 +75,12 @@ public class WxEnterpriseQwDTO implements Serializable {
...
@@ -73,4 +75,12 @@ public class WxEnterpriseQwDTO implements Serializable {
public
void
setAgentId
(
String
agentId
)
{
public
void
setAgentId
(
String
agentId
)
{
this
.
agentId
=
agentId
;
this
.
agentId
=
agentId
;
}
}
public
String
getAgentName
()
{
return
agentName
;
}
public
void
setAgentName
(
String
agentName
)
{
this
.
agentName
=
agentName
;
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/WxEnterpriseServiceImpl.java
View file @
a8c7e5ef
...
@@ -80,6 +80,7 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
...
@@ -80,6 +80,7 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
if
(
appType
==
2
)
{
if
(
appType
==
2
)
{
qw
.
setThirdCorpid
(
app
.
getCorpid
());
qw
.
setThirdCorpid
(
app
.
getCorpid
());
qw
.
setAgentId
(
app
.
getAgentId
());
qw
.
setAgentId
(
app
.
getAgentId
());
qw
.
setAgentName
(
app
.
getAgentName
());
}
else
if
(
appType
.
equals
(
3
))
{
}
else
if
(
appType
.
equals
(
3
))
{
qw
.
setDkCorpid
(
app
.
getCorpid
());
qw
.
setDkCorpid
(
app
.
getCorpid
());
}
else
if
(
appType
.
equals
(
4
))
{
}
else
if
(
appType
.
equals
(
4
))
{
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/notify/out/NoticeMessageApiServiceImpl.java
View file @
a8c7e5ef
...
@@ -258,6 +258,7 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
...
@@ -258,6 +258,7 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
appUrl
+=
"&data="
+
data
;
appUrl
+=
"&data="
+
data
;
messageDTO
.
setAppid
(
config
.
getAppid
());
messageDTO
.
setAppid
(
config
.
getAppid
());
messageDTO
.
setAgentId
(
Integer
.
parseInt
(
qwDTO
.
getAgentId
()));
messageDTO
.
setAgentId
(
Integer
.
parseInt
(
qwDTO
.
getAgentId
()));
messageDTO
.
setAgentName
(
qwDTO
.
getAgentName
());
messageDTO
.
setUserIds
(
wxUserIdList
);
messageDTO
.
setUserIds
(
wxUserIdList
);
messageDTO
.
setPage
(
appUrl
);
messageDTO
.
setPage
(
appUrl
);
messageDTO
.
setTitle
(
StringUtils
.
isNotBlank
(
title
)?
title:
messageTypeEnum
.
getName
());
messageDTO
.
setTitle
(
StringUtils
.
isNotBlank
(
title
)?
title:
messageTypeEnum
.
getName
());
...
...
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