change(module): 添加获取巡检录像功能

- 在 RecordInspectionCabinetController 中添加 getVisibleVideo 方法
- 通过路径参数获取视频文件并返回
- 支持动态检测文件 MIME 类型
- 在 RuoYiConfig 中添加 myPath 配置项用于指定文件路径
IOT
zch 1 year ago
parent ea6051582b
commit 129a9ce996

@ -30,6 +30,8 @@ public class RuoYiConfig
/** 验证码类型 */ /** 验证码类型 */
private static String captchaType; private static String captchaType;
// 自定义路径,用于获取日志信息里的文件
private static String myPath; private static String myPath;
public static String getMyPath() public static String getMyPath()
@ -43,6 +45,7 @@ public class RuoYiConfig
} }
public String getName() public String getName()
{ {
return name; return name;

Loading…
Cancel
Save