Commit 23e8fb2d by huluobin

美甲师登陆流程修改 线程变量保存登陆Seesion

parent a347e227
...@@ -141,10 +141,13 @@ public class PhoneLoginController { ...@@ -141,10 +141,13 @@ public class PhoneLoginController {
throw new RRException("请联系管理员添加美甲师"); throw new RRException("请联系管理员添加美甲师");
} }
List<StoreManage> storeManageList = storeManageMapper.getTechnicianShopList(storeTechnician.getId()); List<StoreManage> storeManageList = storeManageMapper.getTechnicianShopList(storeTechnician.getId());
if (ListUtil.isNotEmpty(storeManageList)) { if (ListUtil.isEmpty(storeManageList)) {
throw new RRException("请联系管理员添加美甲师"); throw new RRException("请联系管理员添加美甲师");
} }
if (storeTechnician.getOpenid() != null) {
throw new RRException("已经绑定过手机号");
}
storeTechnician.setOpenid(openid); storeTechnician.setOpenid(openid);
storeTechnicianService.updateById(storeTechnician); storeTechnicianService.updateById(storeTechnician);
return JsonResult.success(); return JsonResult.success();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment