17 Star 54 Fork 25

有理想的鱼 / ymate-module-captcha

 / 详情

参数中的 scope 是什么???

已完成
创建于  
2022-02-24 21:57

看到请求参数中需要传 scope,随便输了一个 scope 不行...
java.lang.NullPointerException: Cannot invoke "net.ymate.module.captcha.ICaptchaStorageAdapter.load(String)" because the return value of "net.ymate.module.captcha.ICaptchaConfig.getStorageAdapter()" is null

评论 (1)

潘波波 创建了任务

scope是用来区别某一个用户执行某个操作的会话周期,比如用户A注册,那么定义该scope为user_register_a,那么从获取图形验证码或发送短信验证码开始,到对验证码的验证,销毁等一连串的操作过程中所有涉及到的scope值必须一致,都应为user_register_a。

有理想的鱼 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
10397 suninformation 1578914701
Java
1
https://gitee.com/suninformation/ymate-module-captcha.git
git@gitee.com:suninformation/ymate-module-captcha.git
suninformation
ymate-module-captcha
ymate-module-captcha

搜索帮助