SpringBoot2.0實戰(10)整合fluent-validator優雅業務校驗

相關知識 FluentValidator是一個工具類庫,使用流式(Fluent Interface)調用風格讓校驗跑起來更優雅,代碼更簡潔,同時驗證器(Validator)可以做到開閉原則,實現最大程度的複用。 github地址:https://github.com/neoremind/fluent-validator 中文使用手冊:http://neoremind.com/2016/02/jav
相關文章
相關標籤/搜索