|
|
@@ -1081,6 +1081,9 @@ public class AppointmentConfirmOrderServiceImpl implements AppointmentConfirmOrd
|
|
|
|
|
|
}
|
|
|
|
|
|
+ @Value("${app-auth.wx-app-id}")
|
|
|
+ private String wxAppId;
|
|
|
+
|
|
|
@Override
|
|
|
public void sendTemplateMessage(SendTemplateMessageVO sendTemplateMessageVO) {
|
|
|
AppointmentConfirmOrderDO appointmentConfirmOrderDO = appointmentConfirmOrderMapper.selectById(sendTemplateMessageVO.getId());
|
|
|
@@ -1165,9 +1168,9 @@ public class AppointmentConfirmOrderServiceImpl implements AppointmentConfirmOrd
|
|
|
|
|
|
// if(sendTemplateMessageVO.getPage()){
|
|
|
SendMpMessageReqVO.MiniProgram mini = new SendMpMessageReqVO.MiniProgram();
|
|
|
-// mini.setPagePath(String.format("pages/boiler/appointment-confirm/index?id=%s", sendTemplateMessageVO.getId()));
|
|
|
-// mini.setUsePath(true);
|
|
|
-// mini.setAppid("wxf88e2dba767bb5d6");
|
|
|
+ mini.setPagePath(String.format("pagesSub/boiler/appointment-confirm/index?id=%s", sendTemplateMessageVO.getId()));
|
|
|
+ mini.setUsePath(true);
|
|
|
+ mini.setAppid(wxAppId);
|
|
|
param.setMiniProgram(mini);
|
|
|
//}
|
|
|
param.setBusinessId(appointmentConfirmOrderDO.getId());
|