产品动态
产品公告
https://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js 将在性能支持、功能迭代等方面为您提供更及时、更高效的服务保障。https://ca.turing.captcha.qcloud.com/TCaptcha-global.js,我们建议您可逐步将业务调用地址切换至新版。<script src="https://ca.turing.captcha.qcloud.com/TCaptcha-global.js"></script>
<script src="https://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js"></script>
var capctha = new TencentCaptcha('your appid', callback, {});captcha.show();
<body><!-- Container for package captcha --><div id="tcaptcha"></div></body><script>var capctha = new TencentCaptcha(document.getElementById("tcaptcha"), 'your appid', callback, {});captcha.show();</script>
<html lang="en"><head><script src="https://ca.turing.captcha.qcloud.com/TCaptcha-global.js"></script></head><script>// use tencent captcha sdkvar capctha = new TencentCaptcha('your appid', callback, {});captcha.show();</script></html>
<html lang="en"><head><script src="https://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js"></script></head><body><!-- Container for package captcha --><div id="tcaptcha"></div></body><script>// use tencent captcha sdkvar capctha = new TencentCaptcha(document.getElementById("tcaptcha"), 'your appid', callback, {});captcha.show();</script></html>
SDK 版本/参数说明 | 第一个参数 | 第二个参数 | 第三个参数 | 第四个参数 |
验证码1.0 | AppId(String) | Callback(Functionn) | Options(Object) | - |
验证码2.0 | DOM(Element Nodes ) | AppId(String) | Callback(Functionn) | Options(Object) |
文档反馈