|
|
@@ -169,12 +169,11 @@ public class WebInfoServiceImpl extends ServiceImpl<WebInfoMapper, WebInfo> impl
|
|
|
throw new BusinessRuntimeException("店铺已停止运营.");
|
|
|
}
|
|
|
|
|
|
- String encodePasscode = Codec.DoDigest.custom().setAlgorithm(Codec.DoDigest.Algorithm.SHA256).setStringData(passWord).toBase64String();
|
|
|
+ //String encodePasscode = Codec.DoDigest.custom().setAlgorithm(Codec.DoDigest.Algorithm.SHA256).setStringData(passWord).toBase64String();
|
|
|
|
|
|
- if (!StringUtils.equals(webInfo.getPassword(), encodePasscode)) {
|
|
|
+ if (!StringUtils.equals(webInfo.getPassword(), passWord)) {
|
|
|
throw new BusinessRuntimeException("密码有误.");
|
|
|
}
|
|
|
- webInfo.setPassword(null);
|
|
|
return webInfo;
|
|
|
}
|
|
|
}
|