sdk.KaptchaController().shouldKaptcha({ request:{} // HttpServletRequest 对象 }).then(function(result) { alert("success"); } );