Commit 283c54a3b839556dac3ed59d6b48596e537631cc
1 parent
84542cd3
1.DVR外链变更(地址+验证方式)
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/controller/DvrController.java
| ... | ... | @@ -23,7 +23,7 @@ public class DvrController { |
| 23 | 23 | private final static Logger log = LoggerFactory.getLogger(DvrController.class); |
| 24 | 24 | |
| 25 | 25 | @RequestMapping(value = "/{deviceId}/redirect", method = RequestMethod.GET) |
| 26 | - public void getLineCode(@PathVariable("deviceId") String deviceId, HttpServletResponse response) { | |
| 26 | + public void redirect(@PathVariable("deviceId") String deviceId, HttpServletResponse response) { | |
| 27 | 27 | try { |
| 28 | 28 | String url = SystemParamCache.getUrlHttpDvr(), password = SystemParamCache.getUrlHttpDvrPwd(), nonce = WebserviceSign.getRandomString(5); |
| 29 | 29 | String userName = SecurityUtils.getCurrentUser().getJobCode(), timestamp = String.valueOf(System.currentTimeMillis()); | ... | ... |