管道基础大数据平台系统开发-【后端】-Server
1.6
13693261870
2023-01-06 d12b5b41ee33e7eb57f3c3fe00f4fae53eb93388
src/main/java/com/lf/server/service/sys/UserService.java
@@ -6,7 +6,6 @@
import com.lf.server.helper.RsaHelper;
import com.lf.server.helper.StringHelper;
import com.lf.server.mapper.sys.UserMapper;
import com.lf.server.service.all.CommonsFileuploadService;
import com.lf.server.service.all.RedisService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -194,7 +193,7 @@
            // 解密
            String uid = RsaHelper.decrypt(entity.getUid());
            /*String pwd = RsaHelper.decrypt(entity.getPwd());
            if (!StringHelper.checkPwdValid(pwd)) {
            if (!StringHelper.isPwdValid(pwd)) {
                return "密码不符合要求";
            }
@@ -234,7 +233,7 @@
                tokenService.setPwdErrCache(ue);
                return "旧密码不正确";
            }
            if (!StringHelper.checkPwdValid(salt)) {
            if (StringHelper.isPwdInvalid(salt)) {
                return "密码不符合要求";
            }
@@ -284,7 +283,7 @@
        try {
            String pwd = RsaHelper.decrypt(newPwd);
            if (!StringHelper.checkPwdValid(pwd)) {
            if (StringHelper.isPwdInvalid(pwd)) {
                return "密码不符合要求";
            }