|
|
@@ -1993,7 +1993,8 @@ public class FsUserCourseVideoServiceImpl extends ServiceImpl<FsUserCourseVideoM
|
|
|
// if (company.getCourseMiniAppId()==null){
|
|
|
// return R.error("销售公司参数错误,未绑定小程序");
|
|
|
// }
|
|
|
- if (user.getMpOpenId() != null && !projectConfig.getIsNewWxMerchant()) {
|
|
|
+ boolean isNewWxMerchant = (boolean) TenantConfigContext.getByPath("isNewWxMerchant");
|
|
|
+ if (user.getMpOpenId() != null && !isNewWxMerchant) {
|
|
|
packetParam.setOpenId(user.getMpOpenId());
|
|
|
} else {
|
|
|
//查询是否绑定小程序
|