|
@@ -2172,10 +2172,10 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
}else {
|
|
}else {
|
|
|
Company company = companyService.selectCompanyById(param.getCompanyId());
|
|
Company company = companyService.selectCompanyById(param.getCompanyId());
|
|
|
if((companyUser.getIsAllowedAllRegister() !=null && companyUser.getIsAllowedAllRegister() != 1)){
|
|
if((companyUser.getIsAllowedAllRegister() !=null && companyUser.getIsAllowedAllRegister() != 1)){
|
|
|
- return ResponseResult.fail(504,"当前销售禁止绑定会员,请联系销售!");
|
|
|
|
|
|
|
+ return ResponseResult.fail(504,"当前学习助手禁止绑定会员,请联系学习助手!");
|
|
|
}
|
|
}
|
|
|
if (companyUser.getIsNeedRegisterMember() == null || companyUser.getIsNeedRegisterMember() == 1){
|
|
if (companyUser.getIsNeedRegisterMember() == null || companyUser.getIsNeedRegisterMember() == 1){
|
|
|
- return ResponseResult.fail(504,"请联系销售发送邀请链接成为会员!");
|
|
|
|
|
|
|
+ return ResponseResult.fail(504,"请联系学习助手发送邀请链接成为会员!");
|
|
|
}
|
|
}
|
|
|
int defaultStatus = (company != null ? company.getFsUserIsDefaultBlack() : 0) == 1 ? 0 : 1;
|
|
int defaultStatus = (company != null ? company.getFsUserIsDefaultBlack() : 0) == 1 ? 0 : 1;
|
|
|
userCompanyUser = userCompanyUserService.bindRelationship(param.getUserId(), courseProject, companyUser.getCompanyId(), companyUser.getUserId(), defaultStatus);
|
|
userCompanyUser = userCompanyUserService.bindRelationship(param.getUserId(), courseProject, companyUser.getCompanyId(), companyUser.getUserId(), defaultStatus);
|
|
@@ -2184,7 +2184,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
|
|
|
|
|
// 逻辑调整:如果会员已经绑定了销售,直接提示,不添加重粉数据了-2025年6月16日14点53分
|
|
// 逻辑调整:如果会员已经绑定了销售,直接提示,不添加重粉数据了-2025年6月16日14点53分
|
|
|
if (!param.getCompanyUserId().equals(userCompanyUser.getCompanyUserId())){
|
|
if (!param.getCompanyUserId().equals(userCompanyUser.getCompanyUserId())){
|
|
|
- return ResponseResult.fail(500,"该用户("+fsUser.getUserId() + ")已成为其他销售会员");
|
|
|
|
|
|
|
+ return ResponseResult.fail(500,"该用户("+fsUser.getUserId() + ")已成为其他学习助手会员");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 如果开启了黑名单审核,需要提示
|
|
// 如果开启了黑名单审核,需要提示
|