|
@ -169,9 +169,9 @@ public class WxmpMessageServiceImpl implements WxmpMessageService { |
|
|
|
|
|
|
|
|
//获取模板id
|
|
|
//获取模板id
|
|
|
if (WxmpMessageConstant.RESI.equals(clientType)) { |
|
|
if (WxmpMessageConstant.RESI.equals(clientType)) { |
|
|
templateId = wxmpResiUserSubscribeDao.getResiSubscribeTemplateId(openId, templateId, customerId); |
|
|
templateId = wxmpResiUserSubscribeDao.getResiSubscribeTemplateId(openId, customerId); |
|
|
} else if (WxmpMessageConstant.WORK.equals(clientType)) { |
|
|
} else if (WxmpMessageConstant.WORK.equals(clientType)) { |
|
|
templateId = wxmpWorkUserSubscribeDao.getWorkSubscribeTemplateId(openId, templateId, customerId); |
|
|
templateId = wxmpWorkUserSubscribeDao.getWorkSubscribeTemplateId(openId, customerId); |
|
|
} |
|
|
} |
|
|
if (StringUtils.isBlank(templateId)) { |
|
|
if (StringUtils.isBlank(templateId)) { |
|
|
throw new WxSubscribeException("获取模板id失败", "", openId); |
|
|
throw new WxSubscribeException("获取模板id失败", "", openId); |
|
@ -470,4 +470,4 @@ public class WxmpMessageServiceImpl implements WxmpMessageService { |
|
|
} |
|
|
} |
|
|
return staffBasicInfo.getOpenId(); |
|
|
return staffBasicInfo.getOpenId(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|