提交 576e31b9 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 7b6d793d
......@@ -278,18 +278,6 @@ public class FgPermissionsController {
if(StringUtils.isBlank(form.getOpenid())) {
throw new BaseException(9,"第三方账号不能为空");
}
/*Member m = mService.loginWechat(form.getWechatKey());
if(m == null){
throw new BaseException(8,"平台账号不存在");
}else if (m.getStatus() == 0) {
throw new BaseException(5,"该账户已禁用");
}else if (m == null || !form.getPassword().toLowerCase().equals(m.getPassword().toLowerCase())) {
throw new BaseException(4,"密码错误");
}else if(StringUtils.isNotBlank(form.getQqKey()) && StringUtils.isNotBlank(m.getQqKey())) {
throw new BaseException(10,"该账户已绑定过QQ号,请更换账号!");
}else if(StringUtils.isNotBlank(form.getWechatKey()) && StringUtils.isNotBlank(m.getWechatKey())) {
throw new BaseException(10,"该账户已绑定过微信号,请更换账号!");
}*/
Member m = mService.loginWechat(form.getOpenid());
if(m == null) {
m = new Member();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论