扶持功能优化,账号重复验证

master
duhui 2021-06-22 16:14:25 +08:00
parent 7aeeaceb56
commit a56d9c7c42
3 changed files with 10 additions and 2 deletions

View File

@ -370,6 +370,12 @@ public class SupportController {
if (gsUser == null){
return 0;
}
// 相同扶持账号只存在一个
SupportUser supportUser = supportUserDao.getSupportUser(user.getServerId(), user.getUserId(), user.getAccountId());
if (supportUser != null){
return 0;
}
user.setId(seqUtils.getSequence("support_user_id"));
user.setUserName(gsUser.getPlayerManager().getNickName());
Double rechargeMoney = Optional.ofNullable(gsUser.getPlayerManager().getNewRechargeInfo())

View File

@ -151,7 +151,7 @@
window.location.href = '/gsAccountManage'
}
if (data === 0) {
layer.msg('注册失败!', {icon: 6, time: 1000});
layer.msg('注册失败,信息填写错误或账号已存在!', {icon: 6, time: 1000});
}
}
})

View File

@ -26,8 +26,10 @@
<h1><p class="f-20 text-success">戒灵后台管理台</p></h1>
</div>
<div style="margin-left: 20px;font-size: 18px">
<p style="color: red">更新日志[2021-6-21]</p>
<p style="color: red">更新日志[2021-6-22]</p>
<p>1、序列号查询功能修改优化</p>
<p>2、gm管理-->添加游戏协议管理功能</p>
<p>3、扶持账号申请添加账号重复验证</p>
</div>
<footer class="footer mt-20">
</footer>