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
56806d32
Commit
56806d32
authored
Dec 13, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
画布-群发
parent
a782f2cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
QywxSendServiceImpl.java
...oban/manage/service/service/impl/QywxSendServiceImpl.java
+13
-7
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/QywxSendServiceImpl.java
View file @
56806d32
...
...
@@ -245,20 +245,26 @@ public class QywxSendServiceImpl implements QywxSendService {
miniprogramMaterialDTO
.
setAppid
(
material
.
getAppId
());
miniprogramMaterialDTO
.
setPage
(
material
.
getLink
());
// 卡券
String
path
=
material
.
getLink
();
Long
canvasId
=
canvas
.
getCanvasId
();
Long
nodeId
=
canvas
.
getNodeId
();
Long
execLogId
=
canvas
.
getExecLogId
()
;
Long
clerkTaskTime
=
canvas
.
getTaskTime
();
String
clerkId
=
canvas
.
getClerkId
()
;
if
(
materialType
==
7
)
{
Long
canvasId
=
canvas
.
getCanvasId
();
Long
nodeId
=
canvas
.
getNodeId
();
Long
execLogId
=
canvas
.
getExecLogId
()
;
Long
clerkTaskTime
=
canvas
.
getTaskTime
();
String
clerkId
=
canvas
.
getClerkId
()
;
String
str
=
"{\"id\":48,\"url\":\"/pages/member-center/coupon/coupon-group-get/coupon-group-get?execLogId="
+
execLogId
+
"&canvasId="
+
canvasId
+
"&time="
+
clerkTaskTime
+
"&nodeId="
+
nodeId
+
"\"}"
;
EnterpriseWxaRelationDTO
en
=
this
.
enterpriseService
.
getByWxappkey
(
material
.
getAppId
())
;
Map
<
String
,
Object
>
map
=
this
.
enterpriseWxaLinkService
.
getWxaLinkAndQrCodeWithChannelAndSceneOfNotUrl
(
en
.
getEnterpriseId
(),
str
,
canvasId
+
""
,
"canvas"
,
nodeId
+
"_"
+
execLogId
+
"_"
+
clerkTaskTime
+
"_"
+
clerkId
)
;
miniprogramMaterialDTO
.
setPage
(
map
.
get
(
"link"
).
toString
());
path
=
map
.
get
(
"link"
).
toString
()
;
}
if
(
StringUtils
.
isNotBlank
(
material
.
getLink
())
&&
material
.
getLink
().
startsWith
(
"{"
))
{
EnterpriseWxaRelationDTO
en
=
this
.
enterpriseService
.
getByWxappkey
(
material
.
getAppId
())
;
Map
<
String
,
Object
>
map
=
this
.
enterpriseWxaLinkService
.
getWxaLinkAndQrCodeWithChannelAndSceneOfNotUrl
(
en
.
getEnterpriseId
(),
material
.
getLink
(),
canvasId
+
""
,
"canvas"
,
nodeId
+
"_"
+
execLogId
+
"_"
+
clerkTaskTime
+
"_"
+
clerkId
)
;
path
=
map
.
get
(
"link"
).
toString
()
;
}
if
(
null
!=
planType
&&
StringUtils
.
isNotBlank
(
planId
))
{
String
url
=
"qtActivityType="
+
planType
+
"&qtActivityId="
+
planId
;
if
(
material
.
getLink
()
.
contains
(
"?"
))
{
if
(
path
.
contains
(
"?"
))
{
url
=
"&"
+
url
;
}
else
{
url
=
"?"
+
url
;
...
...
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