Commit 93e35613 authored by renjie's avatar renjie

Merge remote-tracking branch 'browser-backend/dev-zrj' into dev-zrj

parents 8af4a083 4a2ad2a1
......@@ -414,7 +414,9 @@ public class AccountServiceImpl implements AccountService {
resultDto.setStatus(0);
resultDto.setData(current);
} catch (Exception e) {
log.error(e.getMessage(), e);
log.error("eeee", e);
resultDto.setStatus(-1);
Map<String, Object> statusInfo = new HashMap<>();
statusInfo.put("code", AccountErrorCode.NAMENOTEXIST);
......@@ -718,7 +720,7 @@ public class AccountServiceImpl implements AccountService {
}
public static String makeRandomPassword(int len) {
char charr[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890".toCharArray();
char charr[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890~!@$%^&*.?".toCharArray();
StringBuilder sb = new StringBuilder();
Random r = new Random();
for (int x = 0; x < len; ++x) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment