Alex 4 tahun lalu
induk
melakukan
7db470b7d1

+ 1 - 1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TPersonalVideoController.java

@@ -146,7 +146,7 @@ public class TPersonalVideoController extends BaseController {
         return toAjax(iTPersonalVideoService.removeById(id) ? 1 : 0);
     }
 
-    @PreAuthorize("@ss.hasPermi('system:personal:img:add')" )
+    @PreAuthorize("@ss.hasPermi('system:personal:video:add')" )
     @PostMapping("/upload")
     public AjaxResult uploadFile(MultipartFile file, String personalId) throws Exception {
         if (personalId == null || "undefined".equals(personalId)) {