Quellcode durchsuchen

侧边栏发官方通用链接

三七 vor 2 Wochen
Ursprung
Commit
660e18cc36

+ 2 - 0
fs-qwhook-sop/src/main/java/com/fs/app/controller/ApisFsUserCourseVideoController.java

@@ -2,6 +2,7 @@ package com.fs.app.controller;
 
 import com.alibaba.fastjson.JSONObject;
 import com.fs.common.annotation.Log;
+import com.fs.common.annotation.RateLimiter;
 import com.fs.common.annotation.RepeatSubmit;
 import com.fs.common.core.controller.BaseController;
 import com.fs.common.core.domain.R;
@@ -183,6 +184,7 @@ public class ApisFsUserCourseVideoController extends BaseController {
 
     @PostMapping("/sendSidebarOfficial")
     @ApiOperation("侧边栏发官方群发链接")
+    @RateLimiter(time=10,count = 1)
     @Log(title = "侧边栏发官方群发链接", businessType = BusinessType.INSERT)
     public R sendSidebarOfficial(@RequestBody QwGroupMsgParam qwGroupMsgParam) throws Exception {