Discuz!X3.5 X3.4腾讯云验证码(CAPTCHA)插件(tencentcloud_captcha)
[md]# 腾讯云验证码插件
## [#](https://openapp.qq.com/docs/Disc ... 6%E4%BB%8B%E7%BB%8D)1.插件介绍
> tencentcloud_captcha插件是一款腾讯云研发的,提供给Discuz! X站长使用的官方插件。基于原有的验证码基础上提供腾讯云验证码机制进行安全验证。
| 标题 | 名称 |
| - | - |
| 中文名称 | 腾讯云验证码(CAPTCHA)插件 |
| 英文名称 | tencentcloud_captcha |
| 最新版本 | v1.0.0 (2020.07.17) |
| 适用平台 | [Discuz! X](https://www.discuz.net/forum.php) |
| 适用产品 | [腾讯云验证码](https://www.discuz.net/forum.php) |
| GitHub项目 | [tencentcloud-discuzx-plugin-captcha](https://github.com/Tencent-Cloud ... cuzx-plugin-captcha) |
| 主创团队 | 腾讯云中小企业产品中心(SMB Product Center of Tencent Cloud) |
## [#](https://openapp.qq.com/docs/Disc ... D%E7%89%B9%E6%80%A7)2.功能特性
* 在Discuz! X上提供腾讯云的增强版验证码功能
* 支持登录、注册腾讯云验证码验证功能
* 支持评论、发帖腾讯云验证码验证功能
* 支持修改密码、赞助充值卡密腾讯云验证码验证功能
## [#](https://openapp.qq.com/docs/Disc ... 5%E6%8C%87%E5%BC%95)3.安装指引
### [#](https://openapp.qq.com/docs/Disc ... 2%E5%AE%89%E8%A3%85)3.1.部署方式一:通过GitHub部署安装
> 1. git clone https://github.com/Tencent-Cloud ... -plugin-captcha.git
> 2. 复制tencentcloud-captcha 文件夹 到Discuz! X安装路径/source/plugin/文件夹里面
## [#](https://openapp.qq.com/docs/Disc ... 8%E6%8C%87%E5%BC%95)4.使用指引
### [#](https://openapp.qq.com/docs/Disc ... D%E4%BB%8B%E7%BB%8D)4.1. 页面功能介绍
![](https://openapp.qq.com/docs/assets/img/captcha1.e8fac534.png)
> 验证码设置页面,本插件已接入系统的验证码模块,开启后请前往系统后台-防灌-验证设置进行具体场景的验证码配置。
![](data:image/png;base64,iVBORw0KGgoAAAANS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vvtrVu3brZw4UJbMH+BU3z99ddtjTXWsI4dOy4nXhzcY489bNGiRYaYtm3b1rbZZht/bbbZZjZz5szc3+uss441btzYBWrKlCm25pprWosWLfx+PXv2tKqqKn9RZu7cuX5fxLVrt65+j2XLlvr5COluu+1mu+66q33//fd+Dn9vueWWfs7XX39tSS+SzzFu3Div2+TJk13MEfSk1+kn6h8REIGyIJCJWLZq1cqFZf3113doCBxeHGJ5xBFHWJ8+fQwxwnsLhpd54okn2j777GMbbrih7bjjjta1a1erqKiwRo0a+TZ/I6SI8VZbbWXNmjWzvfbay71H9j/55JPWvn17Fzy6+pTDEOipU6b68YULF1nfvn1938svv2zjx4/zMq+++qrxN15qPhs9erRtsMEGdvjhh9tPP/1kbdq08c8SPmO+c7RPBESgdAn82++t58+wZMkSQyQXLFjg4vLmm296V/nOO+/0OyOAdKVJCdSkSRP78MMPfT9ihI0aNcoFEQ8zn02dOtWv/+2337pnOX/+fBe60LWfN2+eBSFjm+44goeXOXv2bK/Lzz//bMcdd5wLOfe5//77bfHixe614mUi+r/99pt16NDBevXq5eJMd58u+UMPPWTfffedbbzxxvmqp30iIAIlTiATsUScEEAEka4143p4eXRxv/nmGxcYRHL69Om29tpru9jRlX7xxRddrGCczKv2119/2Zgxox19795Vtu6663o3mMmXkSNH2iabbOLjk4gbIk157tu6dWu/zttvv+3lEUK8QoQOD5auOoL+2muvWe/evb2+oX0RSDzhV155xXe999574ZC/H3300RLK5YjoDxEoLwKZdMOZqEG07rjjDhcrvEbG9xgbHDNmjHtreHXjx493kcM722GHHZab8Eljb9KkabUA/zORg/jRzcYbpBuOcW0mcm666Sa75ZZbfN9dd91lTDYhjAMGDHDP8Mgjj3SvkrHQugzR3Wijjeyss86yQw891IcJ2KZbj1DLREAEypdAJp4lM82HHXaYU5wxY4ZP0DCmyIQM4vPZZ5+59xfGFOvCjQeYnIH+5Zdf/DrJ8w488EDjlbQhQ4a495jch6gyy43XizGJE7aT5cI2915rrbWqx1fHV8+S93BRL1Q+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9o9oXskXizXDNkj0R8SaXLC2HG48RC9sjktepjG7Gn68rYIGOQeJqVlZV+KzxEJmtYUkXdVtQQWs496KCD/AcFsWSog4kfXgxbMJRB27AQHoFG7BDXfMaPFl4uXX28SCbfgiGejMGynClYVVVVdduO8G55RUVF2K13ESgpApnEs+SLiDeEQBUyvD0slMPLpKvJF5AvcqFuJ+fRXa+rDOWyNh4TxLMrZMHLzfdjwnkwKORR4gUzfsla0LTBhXNrm9nn2rDnHX6sqaytHslrp3njhSP0tFttk3HJ8/Nt8yOBYMtEIDYCmXiWtX1J0zCCSIb9yRnysK/Qe4xCWai+yWN1LQwvJJRch0mV2qwuLmkhLUYouVf6umFM+b8KZW31134RiIFAYVcvhhqqDiIgAiIQAQGJZQSNoCqIgAjET0BimUEbsdaz2CdoMqhOtLeAUaHHLqOtuCq2ShDIZIJnlSBZ4EMqu2MBOIlDCKWyOyaAaDMqAhLLqJpDlREBEYiVgLrhsbaM6iUCIhAVAYllVM2hyoiACMRKQGIZa8uoXiIgAlERkFhG1RyqjAiIQKwEJJaxtozqJQIiEBUBiWVUzaHKiIAIxEpAYhlry6heIiACURGQWEbVHKqMCIhArAQklrG2jOolAiIQFQGJZVTNocqIgAjESkBiGWvLqF4iIAJREZBYRtUcqowIiECsBCSWsbaM6iUCIhAVAYllVM2hyoiACMRKQGIZa8uoXiIgAlERkFhG1RyqjAiIQKwEJJaxtozqJQIiEBUBiWVUzaHKiIAIxEpAYhlry6heIiACURGQWEbVHKqMCIhArAQklrG2jOolAiIQFQGJZVTNocqIgAjESkBiGWvLqF4iIAJREZBYRtUcqowIiECsBCSWsbaM6iUCIhAVAYllVM2hyoiACMRKQGIZa8uoXiIgAlER+B/jlJpJSAgVxQAAAABJRU5ErkJggg==)
> 开启验证码之后的效果。
### [#](https://openapp.qq.com/docs/Disc ... D%E8%A7%A3%E9%87%8A)4.2. 名词解释
* **自定义密钥**:插件提供统一密钥管理,在多个腾讯云插件时可以共享SecretId和SecretKey,支持各插件自定义密钥。
* **SecretId**:在腾讯云云平台API密钥上申请的标识身份的 SecretId,用于身份验证。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
* **SecretKey**:在腾讯云云平台API密钥上申请的标识身份的SecretId对应的SecretKey,用于身份验证。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
* **CaptchaAppId**: 在腾讯云短信验证码控制台应用的应用ID,该应用ID默认应用全部场景。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
* **CaptchaAppSecretKey**: 在腾讯云短信验证码控制台应用的密钥,需和应用ID匹配。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
## [#](https://openapp.qq.com/docs/Disc ... 6%E5%85%A5%E5%8F%A3)5.获取入口
| 插件入口 | 链接 |
| - | - |
| GitHub | [link](https://github.com/Tencent-Cloud ... cuzx-plugin-captcha) |
## [#](https://openapp.qq.com/docs/DiscuzX/captcha.html#_6-faq)6.FAQ
> 暂无
## [#](https://openapp.qq.com/docs/Disc ... 3%E8%AE%B0%E5%BD%95)7.GitHub版本迭代记录
### [#](https://openapp.qq.com/docs/Disc ... ugin-captcha-v1-0-0)7.1 tencentcloud-discuzx-plugin-captcha v1.0.0
* 在Discuz! X上提供腾讯云的增强版验证码功能
* 支持登录、注册腾讯云验证码验证功能
* 支持评论、发帖腾讯云验证码验证功能
* 支持修改密码、赞助充值卡密腾讯云验证码验证功能
## [#](https://openapp.qq.com/docs/Disc ... -%E8%87%B4%E8%B0%A2)8.致谢
> 该插件参考了Discuz! X插件[reCAPTCHA云验证码](https://github.com/popcorner/discuz_recaptcha) 的实现方法,特此对其主创团队进行致谢。
[/md]
## [#](https://openapp.qq.com/docs/Disc ... 6%E4%BB%8B%E7%BB%8D)1.插件介绍
> tencentcloud_captcha插件是一款腾讯云研发的,提供给Discuz! X站长使用的官方插件。基于原有的验证码基础上提供腾讯云验证码机制进行安全验证。
| 标题 | 名称 |
| - | - |
| 中文名称 | 腾讯云验证码(CAPTCHA)插件 |
| 英文名称 | tencentcloud_captcha |
| 最新版本 | v1.0.0 (2020.07.17) |
| 适用平台 | [Discuz! X](https://www.discuz.net/forum.php) |
| 适用产品 | [腾讯云验证码](https://www.discuz.net/forum.php) |
| GitHub项目 | [tencentcloud-discuzx-plugin-captcha](https://github.com/Tencent-Cloud ... cuzx-plugin-captcha) |
| 主创团队 | 腾讯云中小企业产品中心(SMB Product Center of Tencent Cloud) |
## [#](https://openapp.qq.com/docs/Disc ... D%E7%89%B9%E6%80%A7)2.功能特性
* 在Discuz! X上提供腾讯云的增强版验证码功能
* 支持登录、注册腾讯云验证码验证功能
* 支持评论、发帖腾讯云验证码验证功能
* 支持修改密码、赞助充值卡密腾讯云验证码验证功能
## [#](https://openapp.qq.com/docs/Disc ... 5%E6%8C%87%E5%BC%95)3.安装指引
### [#](https://openapp.qq.com/docs/Disc ... 2%E5%AE%89%E8%A3%85)3.1.部署方式一:通过GitHub部署安装
> 1. git clone https://github.com/Tencent-Cloud ... -plugin-captcha.git
> 2. 复制tencentcloud-captcha 文件夹 到Discuz! X安装路径/source/plugin/文件夹里面
## [#](https://openapp.qq.com/docs/Disc ... 8%E6%8C%87%E5%BC%95)4.使用指引
### [#](https://openapp.qq.com/docs/Disc ... D%E4%BB%8B%E7%BB%8D)4.1. 页面功能介绍
![](https://openapp.qq.com/docs/assets/img/captcha1.e8fac534.png)
> 验证码设置页面,本插件已接入系统的验证码模块,开启后请前往系统后台-防灌-验证设置进行具体场景的验证码配置。
![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUsAAABUCAYAAAALQBVkAAAEGWlDQ1BrQ0dDb2xvclNwYWNlR2VuZXJpY1JHQgAAOI2NVV1oHFUUPrtzZyMkzlNsNIV0qD8NJQ2TVjShtLp/3d02bpZJNtoi6GT27s6Yyc44M7v9oU9FUHwx6psUxL+3gCAo9Q/bPrQvlQol2tQgKD60+INQ6Ium65k7M5lpurHeZe58853vnnvuuWfvBei5qliWkRQBFpquLRcy4nOHj4g9K5CEh6AXBqFXUR0rXalMA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7bjjjta1a1erqKiwRo0a+TZ/I6SI8VZbbWXNmjWzvfbay71H9j/55JPWvn17Fzy6+pTDEOipU6b68YULF1nfvn1938svv2zjx4/zMq+++qrxN15qPhs9erRtsMEGdvjhh9tPP/1kbdq08c8SPmO+c7RPBESgdAn82++t58+wZMkSQyQXLFjg4vLmm296V/nOO+/0OyOAdKVJCdSkSRP78MMPfT9ihI0aNcoFEQ8zn02dOtWv/+2337pnOX/+fBe60LWfN2+eBSFjm+44goeXOXv2bK/Lzz//bMcdd5wLOfe5//77bfHixe614mUi+r/99pt16NDBevXq5eJMd58u+UMPPWTfffedbbzxxvmqp30iIAIlTiATsUScEEAEka4143p4eXRxv/nmGxcYRHL69Om29tpru9jRlX7xxRddrGCczKv2119/2Zgxox19795Vtu6663o3mMmXkSNH2iabbOLjk4gbIk157tu6dWu/zttvv+3lEUK8QoQOD5auOoL+2muvWe/evb2+oX0RSDzhV155xXe999574ZC/H3300RLK5YjoDxEoLwKZdMOZqEG07rjjDhcrvEbG9xgbHDNmjHtreHXjx493kcM722GHHZab8Eljb9KkabUA/zORg/jRzcYbpBuOcW0mcm666Sa75ZZbfN9dd91lTDYhjAMGDHDP8Mgjj3SvkrHQugzR3Wijjeyss86yQw891IcJ2KZbj1DLREAEypdAJp4lM82HHXaYU5wxY4ZP0DCmyIQM4vPZZ5+59xfGFOvCjQeYnIH+5Zdf/DrJ8w488EDjlbQhQ4a495jch6gyy43XizGJE7aT5cI2915rrbWqx1fHV8+S93BRL1Q+nKd3ERCB0iaQiVjidSFoTOrgNTLOt91229lzzz1nPXr0sE8//bSgd0dXuZDtv//+7pXS3Q/GtfFmg9GNxjNkOCBpeJTM0uOFYgg3E0V12dy582zy5Ek+sVNXWR0XAREofQKZiOVjjz3maylZnoMQIVhbbLGF70PEWG7z7rvv2p577lmDKN30MDFT42BqB6IcFrjzzrKgYAgnL5YW5TPGSnfeeWcXbma2n376adtpp52WK0/dW7Ro7usrEd6lS/9ZoM65fCaGA/g8xdY3Xz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3njhSP0tFttk3HJ8/Nt8yOBYMtEIDYCmXiWtX1J0zCCSIb9yRnysK/Qe4xCWai+yWN1LQwvJJRch0mV2qwuLmkhLUYouVf6umFM+b8KZW31134RiIFAYVcvhhqqDiIgAiIQAQGJZQSNoCqIgAjET0BimUEbsdaz2CdoMqhOtLeAUaHHLqOtuCq2ShDIZIJnlSBZ4EMqu2MBOIlDCKWyOyaAaDMqAhLLqJpDlREBEYiVgLrhsbaM6iUCIhAVAYllVM2hyoiACMRKQGIZa8uoXiIgAlERkFhG1RyqjAiIQKwEJJaxtozqJQIiEBUBiWVUzaHKiIAIxEpAYhlry6heIiACURGQWEbVHKqMCIhArAQklrG2jOolAiIQFQGJZVTNocqIgAjESkBiGWvLqF4iIAJREZBYRtUcqowIiECsBCSWsbaM6iUCIhAVAYllVM2hyoiACMRKQGIZa8uoXiIgAlERkFhG1RyqjAiIQKwEJJaxtozqJQIiEBUBiWVUzaHKiIAIxEpAYhlry6heIiACURGQWEbVHKqMCIhArAQklrG2jOolAiIQFQGJZVTNocqIgAjESkBiGWvLqF4iIAJREZBYRtUcqowIiECsBCSWsbaM6iUCIhAVAYllVM2hyoiACMRKQGIZa8uoXiIgAlER+B/jlJpJSAgVxQAAAABJRU5ErkJggg==)
> 开启验证码之后的效果。
### [#](https://openapp.qq.com/docs/Disc ... D%E8%A7%A3%E9%87%8A)4.2. 名词解释
* **自定义密钥**:插件提供统一密钥管理,在多个腾讯云插件时可以共享SecretId和SecretKey,支持各插件自定义密钥。
* **SecretId**:在腾讯云云平台API密钥上申请的标识身份的 SecretId,用于身份验证。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
* **SecretKey**:在腾讯云云平台API密钥上申请的标识身份的SecretId对应的SecretKey,用于身份验证。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
* **CaptchaAppId**: 在腾讯云短信验证码控制台应用的应用ID,该应用ID默认应用全部场景。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
* **CaptchaAppSecretKey**: 在腾讯云短信验证码控制台应用的密钥,需和应用ID匹配。详情参考[腾讯云文档](https://cloud.tencent.com/document/product)。
## [#](https://openapp.qq.com/docs/Disc ... 6%E5%85%A5%E5%8F%A3)5.获取入口
| 插件入口 | 链接 |
| - | - |
| GitHub | [link](https://github.com/Tencent-Cloud ... cuzx-plugin-captcha) |
## [#](https://openapp.qq.com/docs/DiscuzX/captcha.html#_6-faq)6.FAQ
> 暂无
## [#](https://openapp.qq.com/docs/Disc ... 3%E8%AE%B0%E5%BD%95)7.GitHub版本迭代记录
### [#](https://openapp.qq.com/docs/Disc ... ugin-captcha-v1-0-0)7.1 tencentcloud-discuzx-plugin-captcha v1.0.0
* 在Discuz! X上提供腾讯云的增强版验证码功能
* 支持登录、注册腾讯云验证码验证功能
* 支持评论、发帖腾讯云验证码验证功能
* 支持修改密码、赞助充值卡密腾讯云验证码验证功能
## [#](https://openapp.qq.com/docs/Disc ... -%E8%87%B4%E8%B0%A2)8.致谢
> 该插件参考了Discuz! X插件[reCAPTCHA云验证码](https://github.com/popcorner/discuz_recaptcha) 的实现方法,特此对其主创团队进行致谢。
[/md]