Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
2ee1fba7
Commit
2ee1fba7
authored
Mar 14, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模板消息3
parent
fac55550
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
7 deletions
+35
-7
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SendMsgServiceImpl.java
.../com/wwdz/ch/wx/impl/distribution/SendMsgServiceImpl.java
+35
-7
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SendMsgServiceImpl.java
View file @
2ee1fba7
...
...
@@ -177,7 +177,11 @@ public class SendMsgServiceImpl implements SendMsgService {
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing4"
,
new
HashMap
()
{{
if
(
auctionOfferNoticeMsg
.
getItemName
().
length
()
>
20
)
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}
else
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
());
}
}});
paramMap
.
put
(
"amount5"
,
new
HashMap
()
{{
put
(
"value"
,
auctionOfferNoticeMsg
.
getCurrentPrice
());
...
...
@@ -224,7 +228,11 @@ public class SendMsgServiceImpl implements SendMsgService {
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing4"
,
new
HashMap
()
{{
if
(
auctionOfferNoticeMsg
.
getItemName
().
length
()
>
20
)
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}
else
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
());
}
}});
paramMap
.
put
(
"amount6"
,
new
HashMap
()
{{
put
(
"value"
,
auctionOfferNoticeMsg
.
getCurrentPrice
());
...
...
@@ -277,7 +285,11 @@ public class SendMsgServiceImpl implements SendMsgService {
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing2"
,
new
HashMap
()
{{
if
(
auctionOfferNoticeMsg
.
getItemName
().
length
()
>
20
)
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}
else
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
());
}
}});
paramMap
.
put
(
"thing3"
,
new
HashMap
()
{{
put
(
"value"
,
"请在截止时间前及时付款"
);
...
...
@@ -328,7 +340,11 @@ public class SendMsgServiceImpl implements SendMsgService {
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing1"
,
new
HashMap
()
{{
if
(
auctionOfferNoticeMsg
.
getItemName
().
length
()
>
20
)
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}
else
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
());
}
}});
paramMap
.
put
(
"amount2"
,
new
HashMap
()
{{
put
(
"value"
,
auctionOfferNoticeMsg
.
getCurrentPrice
()
+
"元"
);
...
...
@@ -379,7 +395,11 @@ public class SendMsgServiceImpl implements SendMsgService {
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing1"
,
new
HashMap
()
{{
if
(
auctionOfferNoticeMsg
.
getItemName
().
length
()
>
20
)
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}
else
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
());
}
}});
paramMap
.
put
(
"amount2"
,
new
HashMap
()
{{
put
(
"value"
,
auctionOfferNoticeMsg
.
getCurrentPrice
());
...
...
@@ -430,7 +450,11 @@ public class SendMsgServiceImpl implements SendMsgService {
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing1"
,
new
HashMap
()
{{
if
(
auctionOfferNoticeMsg
.
getItemName
().
length
()
>
20
)
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}
else
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
());
}
}});
paramMap
.
put
(
"amount2"
,
new
HashMap
()
{{
put
(
"value"
,
auctionOfferNoticeMsg
.
getCurrentPrice
());
...
...
@@ -481,7 +505,11 @@ public class SendMsgServiceImpl implements SendMsgService {
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing2"
,
new
HashMap
()
{{
if
(
auctionOfferNoticeMsg
.
getItemName
().
length
()
>
20
)
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}
else
{
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
());
}
}});
paramMap
.
put
(
"thing3"
,
new
HashMap
()
{{
put
(
"value"
,
"有用户新出价"
+
auctionOfferNoticeMsg
.
getCurrentPrice
()
+
"元"
);
...
...
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