|
@@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.model.LoginBody;
|
|
|
import com.ruoyi.common.utils.SendSmsUtils;
|
|
|
import com.ruoyi.common.utils.WordUtil;
|
|
|
import com.ruoyi.system.domain.vo.WordVo;
|
|
|
+import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -29,6 +30,7 @@ public class WordController {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/wordFilePath")
|
|
|
+ @PreAuthorize("@ss.hasPermi('word:wordFilePath:wordFilePath')")
|
|
|
@RepeatSubmit(interval = 1000, message = "请求过于频繁")
|
|
|
public AjaxResult wordFilePath(@RequestBody WordVo wordVo) {
|
|
|
String wordFilePath = wordVo.getWordFilePath();
|