Commit 984451b5 authored by shiyu's avatar shiyu

消息订阅

parent e027d1c1
......@@ -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_APPID).toString() : null;
if (StringUtils.isEmpty(token)) {
token = refreshAppletAccessToken();
}
......
......@@ -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() {{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment