zhangyang 2 年之前
父节点
当前提交
4c2df52dc3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/PoTetherController.java

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

@@ -142,7 +142,7 @@ public class PoTetherController extends BaseController
     @PreAuthorize("@ss.hasPermi('system:tether:add')")
     @Log(title = "套系", businessType = BusinessType.INSERT)
     @PostMapping("/insert")
-    public AjaxResult add(@RequestBody TetherVo tetherVo
+    public AjaxResult add(@Validated @RequestBody TetherVo tetherVo
     )
     //@RequestBody @Param("poUser") PoUser poUser
     {