记得上下班打卡 | git大法好,push需谨慎

Commit 3717ad9d authored by jiangxiulong's avatar jiangxiulong

注释 演出id

parent 1450d586
......@@ -39,6 +39,9 @@ public class SweetAppletSubMsgController {
return subMsgService.sendMsg(type, targetId);
}
// 一次订阅 可以多次发 直到用户取消订阅 所以正规做法应该是记录订阅模版 不关联任何推送数据 等推送的时候查是否订阅某模版
// 然后发送判断失败是用户取消了 删除订阅记录 或者看取消是否有回调 利用回调处理也可
// 现在的理解有误 已写完 先用
@PostMapping("create")
@ApiOperation("添加订阅记录")
@ApiImplicitParams({
......
......@@ -141,7 +141,7 @@ public class SweetAppletSubMsgServiceImpl extends ServiceImpl<SweetAppletSubMsgM
WxMaSubscribeMessage subscribeMessage = new WxMaSubscribeMessage();
subscribeMessage.setPage("pages/webview?query=showdetails&id=".concat(info.getTargetId()));
subscribeMessage.setPage("pages/webview?query=showdetails&id=".concat(performanceVo.getPerformancesId()));
subscribeMessage.setTemplateId(info.getTemplateId());
subscribeMessage.setToUser(info.getOpenId());
......
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