parameter icon indicating copy to clipboard operation
parameter copied to clipboard

自定义校验如何使用

Open YDJSZY opened this issue 6 years ago • 1 comments

不好意思,实在没看明白自定义规则如何使用。 const rule = { title: 'myRule' }; let r = ctx.validate(rule, ctx.request.body); r 一直是undefined

YDJSZY avatar Jul 18 '18 03:07 YDJSZY