提交 efc05cd0 作者: zhenjie

生成后台账号修改

上级 a40fae9d
...@@ -19,7 +19,6 @@ import com.mmc.iuav.user.service.CooperationService; ...@@ -19,7 +19,6 @@ import com.mmc.iuav.user.service.CooperationService;
import com.mmc.iuav.user.service.UserAccountService; import com.mmc.iuav.user.service.UserAccountService;
import com.mmc.iuav.user.util.SmsUtil; import com.mmc.iuav.user.util.SmsUtil;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.RandomStringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -209,7 +208,7 @@ public class CooperationServiceImpl implements CooperationService { ...@@ -209,7 +208,7 @@ public class CooperationServiceImpl implements CooperationService {
bUserAccountVO.setAccountNo(userAccountVO.getPhoneNum()); bUserAccountVO.setAccountNo(userAccountVO.getPhoneNum());
bUserAccountVO.setUserName(userApplyTagDO.getApplyName()); bUserAccountVO.setUserName(userApplyTagDO.getApplyName());
bUserAccountVO.setPhoneNum(userAccountVO.getPhoneNum()); bUserAccountVO.setPhoneNum(userAccountVO.getPhoneNum());
String password = RandomStringUtils.randomAlphanumeric(8); String password = "YXF123456";
bUserAccountVO.setPassWord(password); bUserAccountVO.setPassWord(password);
bUserAccountVO.setAlertPwd(password); bUserAccountVO.setAlertPwd(password);
bUserAccountVO.setAccountStatus(1); bUserAccountVO.setAccountStatus(1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论