1.配置前准备
参考文档: https://developers.google.com/recaptcha/docs/v3
1.1 使用reCaptcha需要去注册google账号,并且去https://www.google.com/recaptcha/admin#list里面去创建秘钥对
1.2并且在后台中 配置相关域名
如不配置域名 进行验证返回
2.界面代码
引入js: <script src="https://www.recaptcha.net/recaptcha/api.js?render=网站密匙"></script>
grecaptcha.ready(function() {
grecaptcha.execu