diff --git a/smartFishingPort-kechuang/src/main/java/com/ltgk/smartFishingPort/controller/VideoIdentificationController.java b/smartFishingPort-kechuang/src/main/java/com/ltgk/smartFishingPort/controller/VideoIdentificationController.java index f2a9ccc..a3566b8 100644 --- a/smartFishingPort-kechuang/src/main/java/com/ltgk/smartFishingPort/controller/VideoIdentificationController.java +++ b/smartFishingPort-kechuang/src/main/java/com/ltgk/smartFishingPort/controller/VideoIdentificationController.java @@ -4,6 +4,7 @@ package com.ltgk.smartFishingPort.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.google.common.collect.Lists; +import com.ltgk.smartFishingPort.common.annotation.Anonymous; import com.ltgk.smartFishingPort.common.core.domain.Response; import com.ltgk.smartFishingPort.common.utils.DateUtils; import com.ltgk.smartFishingPort.common.utils.MybatisUtil; @@ -51,6 +52,7 @@ public class VideoIdentificationController { @ApiOperation("添加视频检测预警信息") @PostMapping(value = "/add") + @Anonymous public Response add(@ModelAttribute VideoIdentification videoIdentification) { // String videoReplace = videoIdentification.getVideoUrl().replace("http://120.238.185.186:2001", "https://pyzhyg.panyu.gd.cn:7673"); // String pictureReplace = videoIdentification.getPictureUrl().replace("http://120.238.185.186:2001", "https://pyzhyg.panyu.gd.cn:7673");