|
|
@@ -898,12 +898,21 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
|
String contactWay = "";
|
|
|
if (ObjectUtils.isNotEmpty(config.getShowQwCode())&&!config.getShowQwCode()){
|
|
|
- return R.error(400,msg).put("qrcode",config.getCompanyUserQRCode());
|
|
|
+ return R.error(400,msg).put("qrcode",contactWay);
|
|
|
}
|
|
|
QwUser qwUser = qwUserMapper.selectQwUserById(Long.parseLong(qwUserById));
|
|
|
if (qwUser==null){
|
|
|
return R.error("客服不存在");
|
|
|
}
|
|
|
+
|
|
|
+ //医健宝
|
|
|
+ if ("医健宝".equals(signProjectName)) {
|
|
|
+ //查询销售
|
|
|
+ CompanyUser user = companyUserMapper.selectCompanyUserById(qwUser.getCompanyId());
|
|
|
+ contactWay = user.getQrCodeWeixin() != null?user.getQrCodeWeixin():"";
|
|
|
+ return R.error(400, msg).put("qrcode", contactWay);
|
|
|
+ }
|
|
|
+
|
|
|
if (StringUtils.isNotEmpty(qwUser.getContactWay())){
|
|
|
contactWay = qwUser.getContactWay();
|
|
|
}
|