|
@@ -52,7 +52,7 @@ public class ContentPlatformAccountServiceImpl implements ContentPlatformAccount
|
|
|
}
|
|
|
Long now = System.currentTimeMillis();
|
|
|
if (StringUtils.hasText(param.getPassword())) {
|
|
|
- String password = Arrays.toString(Base64.getDecoder().decode(param.getPassword()));
|
|
|
+ String password = new String(Base64.getDecoder().decode(param.getPassword()));
|
|
|
String md5Password = Md5Util.encoderByMd5(password);
|
|
|
if (!account.getPassword().equals(md5Password)) {
|
|
|
throw new CommonException(ExceptionEnum.LOGIN_PASSWORD_WRONG);
|
|
@@ -202,7 +202,7 @@ public class ContentPlatformAccountServiceImpl implements ContentPlatformAccount
|
|
|
account.setContactName(param.getContactName());
|
|
|
account.setTelNum(param.getTelNum());
|
|
|
if (StringUtils.hasText(param.getPassword())) {
|
|
|
- String password = Arrays.toString(Base64.getDecoder().decode(param.getPassword()));
|
|
|
+ String password = new String(Base64.getDecoder().decode(param.getPassword()));
|
|
|
account.setPassword(Md5Util.encoderByMd5(password));
|
|
|
}
|
|
|
account.setUpdateAccount(param.getOperator());
|