This action will force synchronization from anji-plus/AJ-Captcha, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
如果图片未能正常展示,可查看码云,和github同步 码云
微信小程序Demo uni-app H5 demo
行为验证码采用嵌入式集成方式,接入方便,安全,高效。抛弃了传统字符型验证码展示-填写字符-比对答案的流程,采用验证码展示-采集用户行为-分析用户行为流程,用户只需要产生指定的行为轨迹,不需要键盘手动输入,极大优化了传统验证码用户体验不佳的问题;同时,快速、准确的返回人机判定结果。目前对外提供两种类型的验证码,其中包含滑动拼图、文字点选。如图1-1、1-2所示。若希望不影响原UI布局,可采用弹出式交互。
图1-1 滑动拼图(水印自定义) 图1-2 文字点选(水印自定义)
术语 | 描述 |
---|---|
验证码类型 | 1)滑动拼图 blockPuzzle 2)文字点选 clickWord |
验证 | 用户拖动/点击一次验证码拼图即视为一次“验证”,不论拼图/点击是否正确 |
二次校验 | 验证数据随表单提交到后台后,后台需要调用captchaService.verification做二次校验。目的是核实验证数据的有效性。 |
① 用户访问应用页面,请求显示行为验证码
② 用户按照提示要求完成验证码拼图/点击
③ 用户提交表单,前端将第二步的输出一同提交到后台
④ 验证数据随表单提交到后台后,后台需要调用captchaService.verification做二次校验。
⑤ 第4步返回校验通过/失败到产品应用后端,再返回到前端。如下图所示。
├─core java后端jar包
├─images 效果图
├─service
│ ├─springboot 后端为springboot项目示例
│ └─springmvc 后端为springmvc非springboot项目示例,未完成
└─view 多语言客户端示例
├─android 原生android实现示例
├─flutter flutter实现示例
├─html 原生html实现示例
├─ios 原生ios实现示例
├─uni-app uni-app实现示例
└─vue vue实现示例
第一步,启动后端,service/springboot导入Eclipse或者Intellij,启动StartApplication。社区底图库
第二步,启动前端,使用visual code打开文件夹view/vue,npm install后npm run dev,浏览器登录
npm install
npm run dev
DONE Compiled successfully in 29587ms 12:06:38
I Your application is running here: http://localhost:8081
详细的前后端接入文档,后端示例代码service目录下,前端示例代码view目录下。
Sign in for post a comment
Comments ( 0 )