generated from root/miduo_server
扶持功能优化,账号重复验证
parent
7aeeaceb56
commit
a56d9c7c42
|
|
@ -370,6 +370,12 @@ public class SupportController {
|
||||||
if (gsUser == null){
|
if (gsUser == null){
|
||||||
return 0;
|
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.setId(seqUtils.getSequence("support_user_id"));
|
||||||
user.setUserName(gsUser.getPlayerManager().getNickName());
|
user.setUserName(gsUser.getPlayerManager().getNickName());
|
||||||
Double rechargeMoney = Optional.ofNullable(gsUser.getPlayerManager().getNewRechargeInfo())
|
Double rechargeMoney = Optional.ofNullable(gsUser.getPlayerManager().getNewRechargeInfo())
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@
|
||||||
window.location.href = '/gsAccountManage'
|
window.location.href = '/gsAccountManage'
|
||||||
}
|
}
|
||||||
if (data === 0) {
|
if (data === 0) {
|
||||||
layer.msg('注册失败!', {icon: 6, time: 1000});
|
layer.msg('注册失败,信息填写错误或账号已存在!', {icon: 6, time: 1000});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,10 @@
|
||||||
<h1><p class="f-20 text-success">戒灵后台管理台</p></h1>
|
<h1><p class="f-20 text-success">戒灵后台管理台</p></h1>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-left: 20px;font-size: 18px">
|
<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>1、序列号查询功能修改优化</p>
|
||||||
|
<p>2、gm管理-->添加游戏协议管理功能</p>
|
||||||
|
<p>3、扶持账号申请添加账号重复验证</p>
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer mt-20">
|
<footer class="footer mt-20">
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue