Commit 66a84cfc25f46044580c35b85cba35ab8dc134de
1 parent
78e80e17
1.线调加入视频监控、ADAS、DSM内容
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/controller/DvrController.java
| @@ -37,7 +37,7 @@ public class DvrController { | @@ -37,7 +37,7 @@ public class DvrController { | ||
| 37 | result.put("msg", "无效的通道号"); | 37 | result.put("msg", "无效的通道号"); |
| 38 | throw new IllegalArgumentException("无效的通道号"); | 38 | throw new IllegalArgumentException("无效的通道号"); |
| 39 | } | 39 | } |
| 40 | - sim = sim.replaceAll("^0*", ""); | 40 | + sim = sim.replaceAll("^0+", ""); |
| 41 | String url = SystemParamCache.getUrlHttpWvpPlay(); | 41 | String url = SystemParamCache.getUrlHttpWvpPlay(); |
| 42 | url = String.format(url, sim, channel); | 42 | url = String.format(url, sim, channel); |
| 43 | Map<String, Object> header = new HashMap<>(); | 43 | Map<String, Object> header = new HashMap<>(); |