|
@@ -511,7 +511,7 @@ public class RegisterServiceImpl implements RegisterService {
|
|
// 设置机构上线
|
|
// 设置机构上线
|
|
user.setClubStatus(90);
|
|
user.setClubStatus(90);
|
|
// 默认密码
|
|
// 默认密码
|
|
- String initPassword = "caimei123";
|
|
|
|
|
|
+ String initPassword = CodeUtil.generateCodeInt(8);
|
|
user.setPassword(Md5Util.md5(initPassword));
|
|
user.setPassword(Md5Util.md5(initPassword));
|
|
// 同意协议
|
|
// 同意协议
|
|
user.setAgreeFlag(isAgreed);
|
|
user.setAgreeFlag(isAgreed);
|