Commit 1f9a105d authored by 廖旭伟's avatar 廖旭伟

修复测试bug

parent 766c14a4
......@@ -201,7 +201,6 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer
}else {
userEntity.setPhone(req.getPhone());
userEntity.setMobile(req.getPhone());
userService.update(userEntity);
}
if (!ObjectUtils.isEmpty(userEntity)
......@@ -213,6 +212,7 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer
//todo 当前用户存在 但是未绑定公司 可绑定
CompanyEntity companyEntity = companyService.getCompanyByH5(req);
userEntity.setCompanyId(companyEntity.getId());
userService.update(userEntity);
}
//当前用户绑定公司 用户名可与phone绑定
JSONObject data = new JSONObject();
......
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