08 2021 档案
摘要:场景:用户连续登录错误次数达到5次后,账号被锁定。需要等待5分钟才能登录 建表sql -- Create table create table W_LOGIN_RECORD ( id NUMBER(15) not null, username VARCHAR2(40), lock_flag VARC
阅读全文
摘要:/** * @param password * @return 判断密码是否为复杂类型(同时包含大小写和数字),是返回true ,非复杂返回false boolean * */ public boolean pwdIsComplex(String password) { boolean flag =
阅读全文
摘要:执行main方法即可启动(如果是spring项目,一般在构造方法调用启动方法接口,记得把类注入到容器即可) (启动后 当消息有推送时会自动除发consumeMessage消费事件) 消费者名称broker-a可随意命名,但是要固定,不然会重新消费该主题所有消息 package com.chzfsd.
阅读全文
摘要:window >preferences >general >content types >Text >java properties file >UTF-8 >update >ok 如果没效果重启eclipse即可
阅读全文