| @@ -119,7 +119,7 @@ public class WxTemplateMsgServiceImpl implements WxTemplateMsgService { | |||||
| if(byId.getType() == EnumTemplateType.ACTIVITY_REMIND.getCode()){ | if(byId.getType() == EnumTemplateType.ACTIVITY_REMIND.getCode()){ | ||||
| try { | try { | ||||
| s = wxMaService.getSubscribeService().addTemplate(EnumTemplateType.ACTIVITY_REMIND.getTid(), | s = wxMaService.getSubscribeService().addTemplate(EnumTemplateType.ACTIVITY_REMIND.getTid(), | ||||
| Lists.newArrayList(13, 5, 12, 1, 11), ""); | |||||
| Lists.newArrayList(13, 5, 12, 1, 11), EnumTemplateType.ACTIVITY_REMIND.getMessage()); | |||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| return new ResultData(ErrorCode.TEMPLATE_ADD_ERROR); | return new ResultData(ErrorCode.TEMPLATE_ADD_ERROR); | ||||
| } | } | ||||
| @@ -127,7 +127,7 @@ public class WxTemplateMsgServiceImpl implements WxTemplateMsgService { | |||||
| }else if(byId.getType() == EnumTemplateType.LIVE_REMIND.getCode()){ | }else if(byId.getType() == EnumTemplateType.LIVE_REMIND.getCode()){ | ||||
| try { | try { | ||||
| s = wxMaService.getSubscribeService().addTemplate(EnumTemplateType.LIVE_REMIND.getTid(), | s = wxMaService.getSubscribeService().addTemplate(EnumTemplateType.LIVE_REMIND.getTid(), | ||||
| Lists.newArrayList(1, 3, 4, 5),""); | |||||
| Lists.newArrayList(1, 3, 4, 5),EnumTemplateType.LIVE_REMIND.getMessage()); | |||||
| } catch (WxErrorException e) { | } catch (WxErrorException e) { | ||||
| return new ResultData(ErrorCode.TEMPLATE_ADD_ERROR); | return new ResultData(ErrorCode.TEMPLATE_ADD_ERROR); | ||||
| } | } | ||||