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
984451b5
Commit
984451b5
authored
Jul 04, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息订阅
parent
e027d1c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
ch-core/src/main/java/com/wwdz/ch/core/api/WxAppletApi.java
ch-core/src/main/java/com/wwdz/ch/core/api/WxAppletApi.java
+1
-1
ch-core/src/main/java/com/wwdz/ch/core/impl/SendMsgServiceImpl.java
...c/main/java/com/wwdz/ch/core/impl/SendMsgServiceImpl.java
+0
-5
No files found.
ch-core/src/main/java/com/wwdz/ch/core/api/WxAppletApi.java
View file @
984451b5
...
...
@@ -166,7 +166,7 @@ public class WxAppletApi {
}
//正式环境先从缓存中获取,没有再刷新token
//根据商户的appid从redis中获取商户的token
String
token
=
redisUtils
.
hasKey
(
APPLET_APPID
)?
redisUtils
.
get
(
APPLET_APP
_SECRET
).
toString
()
:
null
;
String
token
=
redisUtils
.
hasKey
(
APPLET_APPID
)?
redisUtils
.
get
(
APPLET_APP
ID
).
toString
()
:
null
;
if
(
StringUtils
.
isEmpty
(
token
))
{
token
=
refreshAppletAccessToken
();
}
...
...
ch-core/src/main/java/com/wwdz/ch/core/impl/SendMsgServiceImpl.java
View file @
984451b5
...
...
@@ -629,8 +629,6 @@ public class SendMsgServiceImpl implements SendMsgService {
StringBuffer
stringBuffer
=
new
StringBuffer
(
CommConsts
.
SPECIAL_PERFORMANCE_URL
);
stringBuffer
.
append
(
"?specialId="
+
auctionOfferNoticeMsg
.
getSpecialId
());
map
.
put
(
"page"
,
stringBuffer
.
toString
());
// miniprogramMap.put("miniprogram_state", "trial");
// map.put("miniprogram", miniprogramMap);
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing2"
,
new
HashMap
()
{{
put
(
"value"
,
auctionOfferNoticeMsg
.
getSpecialPerformanceTitle
());
...
...
@@ -673,9 +671,6 @@ public class SendMsgServiceImpl implements SendMsgService {
StringBuffer
stringBuffer
=
new
StringBuffer
(
CommConsts
.
SPECIAL_PERFORMANCE_URL
);
stringBuffer
.
append
(
"?specialId="
+
auctionOfferNoticeMsg
.
getSpecialId
());
map
.
put
(
"page"
,
stringBuffer
.
toString
());
// miniprogramMap.put("miniprogram_state", "developer");
// map.put("miniprogram", miniprogramMap);
Map
<
String
,
Object
>
paramMap
=
new
LinkedHashMap
<>();
paramMap
.
put
(
"thing4"
,
new
HashMap
()
{{
...
...
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