Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: 如何添加极验等captcha? #1829

Open
DreamOfIce opened this issue Feb 27, 2023 · 4 comments
Open

[Feature]: 如何添加极验等captcha? #1829

DreamOfIce opened this issue Feb 27, 2023 · 4 comments
Labels
discussion Question or dicussion enhancement New feature or request Inactive

Comments

@DreamOfIce
Copy link
Contributor

功能概述 | Describe the feature

如题,大概研究了一下:
文档里没找到前端提交评论的hook,后端倒是有,不过似乎只能获取评论本身没法获取额外参数?
所以是只能像recaptcha那样改源码嘛?

@DreamOfIce DreamOfIce added discussion Question or dicussion enhancement New feature or request labels Feb 27, 2023
@lizheming
Copy link
Collaborator

前端目前没有暴露接口支持扩展验证码,目前建议就是集成到源码里面来。 @Mister-Hope 你这边有什么看法吗?

@Mister-Hope
Copy link
Member

也许可以加一个自定义函数?其实传入非字符串和布尔值的函数是 Anti-Native-Custom-Component 的,所以我也没什么好办法。

@DreamOfIce
Copy link
Contributor Author

看了下这类feature还挺多的,要不我参考recaptcha的实现去设计一个captcha类?

@lizheming
Copy link
Collaborator

@DreamOfIce 可以的,欢迎 PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Question or dicussion enhancement New feature or request Inactive
Projects
None yet
Development

No branches or pull requests

3 participants