|
@@ -1193,9 +1193,9 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
// if (company.getCourseMiniAppId()==null){
|
|
|
// return R.error("销售公司参数错误,未绑定小程序");
|
|
|
// }
|
|
|
- if (user.getMpOpenId()!=null){
|
|
|
- packetParam.setOpenId(user.getMpOpenId());
|
|
|
- }else {
|
|
|
+// if (user.getMpOpenId()!=null){
|
|
|
+// packetParam.setOpenId(user.getMpOpenId());
|
|
|
+// }else {
|
|
|
FsUserWx fsUserWx = fsUserWxService.selectByAppIdAndUserId(param.getAppId(),user.getUserId(),1);
|
|
|
if (fsUserWx ==null){
|
|
|
if (user.getCourseMaOpenId()==null){
|
|
@@ -1213,7 +1213,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
packetParam.setOpenId(fsUserWx.getOpenId());
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+// }
|
|
|
//判断服务号配置是否存在
|
|
|
if (StringUtils.isNotEmpty(config.getMpAppId())){
|
|
|
packetParam.setMpAppId(config.getMpAppId());
|