|
@@ -64,28 +64,28 @@ public class ContentPlatformPlanController {
|
|
|
|
|
|
|
|
@ApiOperation(value = "发布内容视频列表")
|
|
@ApiOperation(value = "发布内容视频列表")
|
|
|
@PostMapping("/videoContentList")
|
|
@PostMapping("/videoContentList")
|
|
|
- @RateLimit(timeWindow = 60, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
|
|
|
|
+ @RateLimit(timeWindow = 30, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
public CommonResponse<Page<VideoContentItemVO>> getVideoContentList(@RequestBody VideoContentListParam param) {
|
|
public CommonResponse<Page<VideoContentItemVO>> getVideoContentList(@RequestBody VideoContentListParam param) {
|
|
|
return CommonResponse.success(planService.getVideoContentList(param));
|
|
return CommonResponse.success(planService.getVideoContentList(param));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@ApiOperation(value = "向量匹配视频列表")
|
|
@ApiOperation(value = "向量匹配视频列表")
|
|
|
@PostMapping("/vector/videoContentList")
|
|
@PostMapping("/vector/videoContentList")
|
|
|
- @RateLimit(timeWindow = 60, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
|
|
|
|
+ @RateLimit(timeWindow = 30, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
public CommonResponse<Page<VideoContentItemVO>> getVectorVideoContentList(@RequestBody VideoContentListParam param) {
|
|
public CommonResponse<Page<VideoContentItemVO>> getVectorVideoContentList(@RequestBody VideoContentListParam param) {
|
|
|
return CommonResponse.success(planService.getVectorVideoContentList(param));
|
|
return CommonResponse.success(planService.getVectorVideoContentList(param));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@ApiOperation(value = "个人上传发布内容视频列表")
|
|
@ApiOperation(value = "个人上传发布内容视频列表")
|
|
|
@PostMapping("/upload/videoContentList")
|
|
@PostMapping("/upload/videoContentList")
|
|
|
- @RateLimit(timeWindow = 60, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
|
|
|
|
+ @RateLimit(timeWindow = 30, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
public CommonResponse<Page<VideoContentItemVO>> getUploadVideoContentList(@RequestBody VideoContentListParam param) {
|
|
public CommonResponse<Page<VideoContentItemVO>> getUploadVideoContentList(@RequestBody VideoContentListParam param) {
|
|
|
return CommonResponse.success(planService.getUploadVideoContentList(param));
|
|
return CommonResponse.success(planService.getUploadVideoContentList(param));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@ApiOperation(value = "需求匹配视频列表")
|
|
@ApiOperation(value = "需求匹配视频列表")
|
|
|
@PostMapping("/demand/videoContentList")
|
|
@PostMapping("/demand/videoContentList")
|
|
|
- @RateLimit(timeWindow = 60, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
|
|
|
|
+ @RateLimit(timeWindow = 30, maxRequests = 10, limitByAccount = true, message = "请求过于频繁,请稍后再试")
|
|
|
public CommonResponse<Page<VideoContentItemVO>> getDemandVideoContentList(@RequestBody VideoContentListParam param) {
|
|
public CommonResponse<Page<VideoContentItemVO>> getDemandVideoContentList(@RequestBody VideoContentListParam param) {
|
|
|
return CommonResponse.success(planService.getDemandVideoContentList(param));
|
|
return CommonResponse.success(planService.getDemandVideoContentList(param));
|
|
|
}
|
|
}
|