zhangyang 2 years ago
parent
commit
4c2df52dc3

+ 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
     {