Browse Source

报警接口修改

gao.qiang 10 months ago
parent
commit
b13c0a5c85

+ 1 - 1
vehicle-admin/src/main/java/com/ozs/web/controller/accountmanagment/MsgAlarmController.java

@@ -379,7 +379,7 @@ public class MsgAlarmController extends BaseController {
                 msgAlarmResp.setAlarmUrl("https://rtmp01open.ys7.com:9188/v3/openlive/K38316196_1_1.flv?expire=1745409016&id=704781554165264384&t=477265ab4d36debe072836e0b16755ba50303c3b8eb165a628bc9c0a0328afb5&ev=100");
             }else {
                 if (StringUtils.isNotEmpty(baseCameraManagement.getCameraCode())) {
-                    msgAlarmResp.setAlarmUrl(CameraUtil.getPlayFlv(baseCameraManagement.getCameraCode(), "channel"));
+                    msgAlarmResp.setAlarmUrl(CameraUtil.getPlayFlv(baseCameraManagement.getCameraCode(), baseCameraManagement.getChannel()));
                 }else {
                     return success("该报警信息无匹判断相机");
                 }