|
@@ -28,7 +28,6 @@ public class CaseController {
|
|
|
*/
|
|
|
@SaIgnore
|
|
|
@PostMapping("/getCaseList")
|
|
|
- @RedisLimit(name = "case/getCaseList", limitCount = 1, period = 30)
|
|
|
@ValidateApi(method = "case:getCaseList")
|
|
|
@ValidateIp
|
|
|
public ResultData getCaseOfflinePage(@RequestBody CaseParam param) {
|
|
@@ -36,12 +35,21 @@ public class CaseController {
|
|
|
return caseService.caseList(param);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @SaIgnore
|
|
|
+ @ValidateApi(method = "case:sceneList")
|
|
|
+ @ValidateIp
|
|
|
+ @GetMapping("/sceneList")
|
|
|
+ public ResultData sceneList(@RequestParam(required = false) Integer caseId ){
|
|
|
+ return caseService.sceneList(caseId);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 获取案件离线包
|
|
|
*/
|
|
|
@SaIgnore
|
|
|
@GetMapping("/getCaseOfflinePage/{caseId}")
|
|
|
- @RedisLimit(name = "case/getCaseOfflinePage", limitCount = 1, period = 30)
|
|
|
@ValidateApi(method = "case:getCaseOfflinePage")
|
|
|
@ValidateIp
|
|
|
public ResultData getCaseOfflinePage(@PathVariable Integer caseId) {
|