Joi 是hapijs 自带的数据校验模块,他已经高度封装常用的校验功能,本文 ... var input = { username: 'zzbo' } var output = Joi.validate(input, ...
確定! 回上一頁