提交 dcc5ba18 编写于 作者: yongbo.wang's avatar yongbo.wang

Merge branch 'dev-20190827-account-center' into release

# Conflicts:
#	server/src/main/java/com/pica/cloud/account/account/server/Test.java
#	server/src/main/java/com/pica/cloud/account/account/server/service/impl/PasswordServiceImpl.java
#	server/src/main/resources/mybatis/AccountInfoEntityMapper.xml
流水线 #16479 已失败 于阶段
in 0 second
......@@ -184,6 +184,7 @@ public class RegisterServiceImpl implements RegisterService {
@Override
public void ocinRegister(OCINRequest request) {
String mobile = request.getMobile();
String name = request.getName();
AccountInfoEntity accountInfoEntity = accountInfoDetailMapper.selectByMobile(mobile);
if (accountInfoEntity == null) {
Date currentTime = new Date();
......@@ -199,6 +200,7 @@ public class RegisterServiceImpl implements RegisterService {
accountInfo.setRegTime(currentTime);
accountInfo.setDeleteFlag(1);
accountInfo.setSex(0);
accountInfo.setName(name);
accountInfo.setRegisterProduct(productType);
accountInfo.setRegisterSource(sourceType);
accountInfoDetailMapper.insertSelective(accountInfo);
......@@ -216,6 +218,7 @@ public class RegisterServiceImpl implements RegisterService {
account.setFirstLoginTime(currentTime);
account.setLastLoginTime(currentTime);
account.setPassword("");
account.setName(name);
accountMapper.insertSelective(account);
Long userId = accountUtils.getUserIdByAcctId(productType, acctId);
processAgreement(userId);
......
......@@ -123,7 +123,7 @@ public class RSAUtil {
public static void main(String[] args) throws Exception {
//生成公钥和私钥
//genKeyPair();
// genKeyPair();
// keyMap.put(0, publicKey);
// keyMap.put(1, privateKey);
// //加密字符串
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册