zhangyang 2 ani în urmă
părinte
comite
8181814559

+ 4 - 4
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/PoTetherController.java

@@ -142,12 +142,12 @@ public class PoTetherController extends BaseController
     @PreAuthorize("@ss.hasPermi('system:tether:add')")
     @Log(title = "套系", businessType = BusinessType.INSERT)
     @PostMapping("/add")
-    public AjaxResult add(@RequestBody TetherVo tetherVo,
-                          @RequestBody @Param("poUser") PoUser poUser
-                          )
+    public AjaxResult add(@RequestBody TetherVo tetherVo
+    )
+    //@RequestBody @Param("poUser") PoUser poUser
     {
         //判断当前用户是否有操作的权限
-        poUserService.checkUserAllowed(poUser);
+        //poUserService.checkUserAllowed(poUser);
 
         if (UserConstants.NOT_UNIQUE.equals(poTetherService.checkPostTetherNameUnique(tetherVo))){
             return AjaxResult.error("新增失败"+tetherVo.getTetherName()+"已经存在");