refactor(fys-demo): 优化视频上传接口并修复 MQTT 报警信息发送逻辑

- 移除了 VideoUploadController 中的 @SaIgnore 注解,恢复权限控制- 优化了 XinghanSendAlarmMessageRule 中的 Redis 数据检查逻辑
This commit is contained in:
2025-08-27 15:27:19 +08:00
parent a5b8cdffec
commit 9bbed77170
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,6 @@ public class VideoUploadController {
private static final char[] HEX_ARRAY = "0123456789ABCDEF".toCharArray();
@PostMapping(value = "/upload", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
@SaIgnore
public R<List<String>> upload(@RequestParam("file") MultipartFile file) {
if (file == null || file.isEmpty()) {
return R.fail("上传文件不能为空");