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