Commit a5bd4ab9 authored by shiyu's avatar shiyu

发送模板消息

parent 07cb0d36
...@@ -54,7 +54,6 @@ public interface SupplierItemDao { ...@@ -54,7 +54,6 @@ public interface SupplierItemDao {
long countByCreatorId(long creatorId); long countByCreatorId(long creatorId);
List<SupplierItem> findByCreatorId(long creatorId); List<SupplierItem> findByCreatorId(long creatorId);
......
...@@ -83,6 +83,7 @@ public class SendMsgServiceImpl implements SendMsgService { ...@@ -83,6 +83,7 @@ public class SendMsgServiceImpl implements SendMsgService {
miniprogramMap.put("appid", APPLET_APPID); miniprogramMap.put("appid", APPLET_APPID);
StringBuffer stringBuffer = new StringBuffer(DISTRIBUTION_MSG_URL); StringBuffer stringBuffer = new StringBuffer(DISTRIBUTION_MSG_URL);
stringBuffer.append("?orderId=" + payNoticeMsg.getDistributionOrderId()); stringBuffer.append("?orderId=" + payNoticeMsg.getDistributionOrderId());
stringBuffer.append("&shopState=1");
miniprogramMap.put("pagepath", stringBuffer.toString()); miniprogramMap.put("pagepath", stringBuffer.toString());
map.put("miniprogram", miniprogramMap); map.put("miniprogram", miniprogramMap);
map.put("data", payNoticeMsg.getTempletParam()); map.put("data", payNoticeMsg.getTempletParam());
...@@ -144,6 +145,7 @@ public class SendMsgServiceImpl implements SendMsgService { ...@@ -144,6 +145,7 @@ public class SendMsgServiceImpl implements SendMsgService {
miniprogramMap.put("appid", APPLET_APPID); miniprogramMap.put("appid", APPLET_APPID);
StringBuffer stringBuffer = new StringBuffer(DISTRIBUTION_MSG_URL); StringBuffer stringBuffer = new StringBuffer(DISTRIBUTION_MSG_URL);
stringBuffer.append("?orderId=" + signedNoticeMsg.getDistributionOrderId()); stringBuffer.append("?orderId=" + signedNoticeMsg.getDistributionOrderId());
stringBuffer.append("&shopState=1");
miniprogramMap.put("pagepath", stringBuffer.toString()); miniprogramMap.put("pagepath", stringBuffer.toString());
map.put("miniprogram", miniprogramMap); map.put("miniprogram", miniprogramMap);
map.put("data", signedNoticeMsg.getTempletParam()); map.put("data", signedNoticeMsg.getTempletParam());
......
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