目前使用github.com/dchest/captcha,默认存储在程序内存中,如果后端2个以上服务,则可能请求captchaId结果为空。 应该自定义实现captcha.Store interface,如存在统一redis,并captcha.SetCustomStore自定义存储Store
登录 后才可以发表评论