فهرست منبع

小程序bug,消息推送

xuzhancheng 5 روز پیش
والد
کامیت
31f161dcfb

+ 1 - 1
tz-module-pressure2/tz-module-pressure2-biz/src/main/java/cn/start/tz/module/pressure2/controller/app/appointmentconfirmorder/PipeAppointmentConfirmOrderAppController.java

@@ -121,7 +121,7 @@ public class PipeAppointmentConfirmOrderAppController {
         }
         pageReqVO.setUnitPhone(mobile);
         pageReqVO.setEquipMainType(300);
-        return success(appointmentConfirmOrderService.getAppointmentConfirmOrderPage(pageReqVO));
+        return success(appointmentConfirmOrderService.getAppointmentConfirmOrderPageApp(pageReqVO));
     }
 
 }

+ 4 - 3
tz-module-pressure2/tz-module-pressure2-biz/src/main/java/cn/start/tz/module/pressure2/service/appointmentconfirmorder/AppointmentConfirmOrderServiceImpl.java

@@ -1114,12 +1114,13 @@ 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.setPagePath(String.format("pages/boiler/appointment-confirm/index?id=%s", sendTemplateMessageVO.getId()));
+//            mini.setUsePath(true);
+//            mini.setAppid("wxf88e2dba767bb5d6");
             param.setMiniProgram(mini);
             //}
             param.setBusinessId(appointmentConfirmOrderDO.getId());
-            param.setBusinessType(0);
+            param.setBusinessType(200);
             memberMessageRemoteService.sendMpMessage(param);
         });