|
|
@@ -319,6 +319,9 @@ public class LiveServiceImpl implements ILiveService
|
|
|
|
|
|
@Override
|
|
|
public R subNotifyLive(LiveNotifyParam param) {
|
|
|
+ if (StringUtils.isEmpty(param.getAppId())) {
|
|
|
+ return R.error("小程序订阅失败:appId为空!");
|
|
|
+ }
|
|
|
LiveMiniprogramSubNotifyTask notifyTask = new LiveMiniprogramSubNotifyTask();
|
|
|
notifyTask.setPage("pages_course/living?liveId=" + param.getLiveId());
|
|
|
notifyTask.setTaskName("直播间预约提醒");
|
|
|
@@ -326,7 +329,7 @@ public class LiveServiceImpl implements ILiveService
|
|
|
Long userId = param.getUserId();
|
|
|
Wrapper<FsUserWx> queryWrapper = Wrappers.<FsUserWx>lambdaQuery()
|
|
|
.eq(FsUserWx::getFsUserId, userId)
|
|
|
- .eq(FsUserWx::getAppId, StringUtils.isEmpty(param.getAppId()) ? "wx44beed5640bcb1ba" : param.getAppId()); // 卓美小程序
|
|
|
+ .eq(FsUserWx::getAppId, StringUtils.isEmpty(param.getAppId()) ? "wxd791d5933ed42218" : param.getAppId()); // 卓美小程序
|
|
|
FsUserWx fsUserWx = fsUserWxMapper.selectOne(queryWrapper);
|
|
|
String maOpenId = "";
|
|
|
if (fsUserWx == null) {
|