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
962ed0d3
Commit
962ed0d3
authored
Mar 14, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模板消息
parent
ec6b7d76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SendMsgServiceImpl.java
.../com/wwdz/ch/wx/impl/distribution/SendMsgServiceImpl.java
+5
-5
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SendMsgServiceImpl.java
View file @
962ed0d3
...
@@ -280,9 +280,9 @@ public class SendMsgServiceImpl implements SendMsgService {
...
@@ -280,9 +280,9 @@ public class SendMsgServiceImpl implements SendMsgService {
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}});
}});
paramMap
.
put
(
"thing3"
,
new
HashMap
()
{{
paramMap
.
put
(
"thing3"
,
new
HashMap
()
{{
put
(
"value"
,
"请及时付款"
);
put
(
"value"
,
"请
在截止时间前
及时付款"
);
}});
}});
String
content
=
"付款截止时间"
+
DateUtils
.
toString
(
auctionOfferNoticeMsg
.
getPayEndTime
());
String
content
=
DateUtils
.
toString
(
auctionOfferNoticeMsg
.
getPayEndTime
());
paramMap
.
put
(
"time4"
,
new
HashMap
()
{{
paramMap
.
put
(
"time4"
,
new
HashMap
()
{{
put
(
"value"
,
content
);
put
(
"value"
,
content
);
}});
}});
...
@@ -366,7 +366,7 @@ public class SendMsgServiceImpl implements SendMsgService {
...
@@ -366,7 +366,7 @@ public class SendMsgServiceImpl implements SendMsgService {
OkHttpUtil
okHttpUtil
=
OkHttpUtil
.
builder
().
url
(
url
);
OkHttpUtil
okHttpUtil
=
OkHttpUtil
.
builder
().
url
(
url
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"touser"
,
openId
);
map
.
put
(
"touser"
,
openId
);
map
.
put
(
"template_id"
,
"D03X6N8zIiFrkbsVWFixJ
rvubLTS0yA-An1-rzuz5e4
"
);
map
.
put
(
"template_id"
,
"D03X6N8zIiFrkbsVWFixJ
vbDgdqMHhHw89sZsrp-Jj8
"
);
Map
<
String
,
Object
>
miniprogramMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
miniprogramMap
=
new
HashMap
<>();
miniprogramMap
.
put
(
"appid"
,
APPLET_APPID
);
miniprogramMap
.
put
(
"appid"
,
APPLET_APPID
);
StringBuffer
stringBuffer
=
new
StringBuffer
(
AUCTION_MSG_URL
);
StringBuffer
stringBuffer
=
new
StringBuffer
(
AUCTION_MSG_URL
);
...
@@ -382,9 +382,9 @@ public class SendMsgServiceImpl implements SendMsgService {
...
@@ -382,9 +382,9 @@ public class SendMsgServiceImpl implements SendMsgService {
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
put
(
"value"
,
auctionOfferNoticeMsg
.
getItemName
().
substring
(
0
,
20
));
}});
}});
paramMap
.
put
(
"amount2"
,
new
HashMap
()
{{
paramMap
.
put
(
"amount2"
,
new
HashMap
()
{{
put
(
"value"
,
auctionOfferNoticeMsg
.
get
Amount
());
put
(
"value"
,
auctionOfferNoticeMsg
.
get
CurrentPrice
());
}});
}});
String
content
=
"竞拍将在一小时内结束"
;
String
content
=
DateUtils
.
toString
(
auctionOfferNoticeMsg
.
getAuctionEndTime
())
;
paramMap
.
put
(
"time3"
,
new
HashMap
()
{{
paramMap
.
put
(
"time3"
,
new
HashMap
()
{{
put
(
"value"
,
content
);
put
(
"value"
,
content
);
}});
}});
...
...
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