|
@@ -1009,11 +1009,7 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
public AjaxResult closestream(@RequestParam("path") String path) {
|
|
|
String start = HttpUtils.sendGet(CameraUtil.closestream(path));
|
|
|
log.info("endRecording------------" + start);
|
|
|
- if ("ok".equals(start)) {
|
|
|
- return AjaxResult.success("");
|
|
|
- } else {
|
|
|
- return AjaxResult.error("");
|
|
|
- }
|
|
|
+ return AjaxResult.success(start);
|
|
|
}
|
|
|
|
|
|
|