|
|
|
@ -1,6 +1,7 @@
|
|
|
|
package com.zhehekeji.web.controller;
|
|
|
|
package com.zhehekeji.web.controller;
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.core.JsonParser;
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
import com.zhehekeji.common.util.ValidatorUtil;
|
|
|
|
import com.zhehekeji.common.util.ValidatorUtil;
|
|
|
|
import com.zhehekeji.core.pojo.Result;
|
|
|
|
import com.zhehekeji.core.pojo.Result;
|
|
|
|
@ -151,6 +152,7 @@ public class CameraController {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
jsonObject.put("streams",streams);
|
|
|
|
jsonObject.put("streams",streams);
|
|
|
|
Writer write = new OutputStreamWriter(new FileOutputStream(file), "UTF-8");
|
|
|
|
Writer write = new OutputStreamWriter(new FileOutputStream(file), "UTF-8");
|
|
|
|
|
|
|
|
|
|
|
|
write.write(jsonObject.toJSONString());
|
|
|
|
write.write(jsonObject.toJSONString());
|
|
|
|
write.flush();
|
|
|
|
write.flush();
|
|
|
|
write.close();
|
|
|
|
write.close();
|
|
|
|
|