violetdream
violetdream
如果60s内,大量用户校验验证码时,如生成了两个相同的Code,存入Redis,验证时会失败。 以下是测试代码 public class UserProviderApplication { public static void main(String[] args) { ConfigurableApplicationContext context=SpringApplication.run(UserProviderApplication.class,args); KaptchaServiceImpl kaptchaService= (KaptchaServiceImpl) context.getBean("kaptchaServiceImpl"); Map map=new HashMap(); KaptchaCodeRequest request=new KaptchaCodeRequest(); for(int i=0;i
需要在js里加入z-index $(this).find('.ck-slide-wrapper li').eq(hide).stop().animate({"opacity":"0","z-index":"0"}); $(this).find('.ck-slide-wrapper li').eq(show).show().css({"opacity":"0"}).stop().animate({"opacity":"1","z-index":"1"});