柯基犬 像一样的轻量级AWS Lambda HTTP API框架 例 const router = new Router ( [ new Namespace ( '/api/:userId' , { params : { userId : Joi . number ( ) , } , async before ( ) { this . params . user = await User . findByUserId ( this . params . userId ) ; if ( ! this . params . user