Browse Source

海康记录查询

dzx 2 months ago
parent
commit
5c8f3d5f7e

+ 2 - 1
src/main/java/com/xjrsoft/module/hikvision/controller/OutInController.java

@@ -16,6 +16,7 @@ import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiOperation;
 import lombok.AllArgsConstructor;
 import lombok.AllArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
 import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.bind.annotation.RestController;
@@ -33,7 +34,7 @@ public class OutInController {
 
 
     private final IHikvisionDataService hkvisionDataService;
     private final IHikvisionDataService hkvisionDataService;
 
 
-    @PostMapping("/page")
+    @GetMapping("/page")
     @ApiOperation(value="海康记录查询(分页)")
     @ApiOperation(value="海康记录查询(分页)")
     @SaCheckPermission("outin:detail")
     @SaCheckPermission("outin:detail")
     public RT<PageOutput<HikvisionOutinPageVo>> page(@Valid HikvisionOutinPageDto dto){
     public RT<PageOutput<HikvisionOutinPageVo>> page(@Valid HikvisionOutinPageDto dto){