验证码 JS 接入域名 | Web 和 App 客户端-H5接入 | 是否需要变更 |
sg.captcha.qcloud.com | Web 和 App 客户端-H5接入变更指引 | 需要变更 |
global.captcha.gtimg.com | | 需要变更 |
https://sg.captcha.qcloud.com/TCaptcha-global.jshttps://global.captcha.gtimg.com/TCaptcha-global.jshttps://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js <html lang="en"><head><script src="https://sg.captcha.qcloud.com/TCaptcha-global.js"></script></head><body></body><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>
接入版本 | 接入版本/参数说明 | 第一个参数 | 第二个参数 | 第三个参数 | 第四个参数 |
旧域名版本 | https://sg.captcha.qcloud.com/TCaptcha-global.js | AppId(String) | Callback(Function) | Options(Object) | - |
新域名版本 | https://ca.turing.captcha.qcloud.com/TJNCaptcha-global.js | DOM(Element Nodes ) | AppId(String) | Callback(Function) | 1. Options(Object) |
文档反馈