|
@@ -758,7 +758,12 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
}
|
|
|
|
|
|
private R addCustomerService(String qwUserById,String msg){
|
|
|
+ String json = configService.selectConfigByKey("course.config");
|
|
|
+ CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
|
String contactWay = "";
|
|
|
+ if (ObjectUtils.isNotEmpty(config.getShowQwCode())&&!config.getShowQwCode()){
|
|
|
+ return R.error(400,msg).put("qrcode",contactWay);
|
|
|
+ }
|
|
|
QwUser qwUser = qwUserMapper.selectQwUserById(Long.parseLong(qwUserById));
|
|
|
if (qwUser==null){
|
|
|
return R.error("客服不存在");
|