|
|
@ -322,7 +322,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject sysAccount = new JSONObject();
|
|
|
|
JSONObject sysAccount = new JSONObject();
|
|
|
|
sysAccount.put("username", apply.getString("username"));
|
|
|
|
sysAccount.put("username", apply.getString("username"));
|
|
|
|
sysAccount.put("display_name", apply.getString("username"));
|
|
|
|
sysAccount.put("display_name", apply.getString("contact_person"));
|
|
|
|
String salt = PasswordUtils.newSalt();
|
|
|
|
String salt = PasswordUtils.newSalt();
|
|
|
|
sysAccount.put("salt", salt);
|
|
|
|
sysAccount.put("salt", salt);
|
|
|
|
sysAccount.put("role", 1);
|
|
|
|
sysAccount.put("role", 1);
|
|
|
|