|
@@ -60,7 +60,7 @@ public class IpadSendServer {
|
|
|
private final ICompanyMiniappService companyMiniappService;
|
|
private final ICompanyMiniappService companyMiniappService;
|
|
|
private final IFsCoursePlaySourceConfigService playSourceConfigService;
|
|
private final IFsCoursePlaySourceConfigService playSourceConfigService;
|
|
|
private final FsUserMapper fsUserMapper;
|
|
private final FsUserMapper fsUserMapper;
|
|
|
- private static final List<String> PROJECT_NAMES = Arrays.asList("济南联志健康", "北京存在文化","宽益堂");
|
|
|
|
|
|
|
+ private static final List<String> PROJECT_NAMES = Arrays.asList("济南联志健康", "北京存在文化","宽益堂","医健宝");
|
|
|
private void sendMiniProgram(BaseVo vo, QwSopCourseFinishTempSetting.Setting content, Map<String, FsCoursePlaySourceConfig> miniMap, Long companyId) {
|
|
private void sendMiniProgram(BaseVo vo, QwSopCourseFinishTempSetting.Setting content, Map<String, FsCoursePlaySourceConfig> miniMap, Long companyId) {
|
|
|
// 发送参数原本的appid
|
|
// 发送参数原本的appid
|
|
|
String appid = content.getMiniprogramAppid();
|
|
String appid = content.getMiniprogramAppid();
|
|
@@ -86,7 +86,7 @@ public class IpadSendServer {
|
|
|
// 当前外部联系是否绑定用户数据,如果数据为空则是没看过小程序的新用户,不用去判断小程序,跳过判断
|
|
// 当前外部联系是否绑定用户数据,如果数据为空则是没看过小程序的新用户,不用去判断小程序,跳过判断
|
|
|
if(qwExternalContact.getFsUserId() != null){
|
|
if(qwExternalContact.getFsUserId() != null){
|
|
|
// 根据用户绑定信息去查询用户信息
|
|
// 根据用户绑定信息去查询用户信息
|
|
|
- FsUser fsUser = fsUserMapper.selectFsUserByUserId(qwExternalContact.getFsUserId());
|
|
|
|
|
|
|
+ FsUser fsUser = fsUserMapper.getUserLookAppIdByuserId(qwExternalContact.getFsUserId());//优化升级获取用户登录的appId
|
|
|
// 判断用户是否有看过其他的小程序多个
|
|
// 判断用户是否有看过其他的小程序多个
|
|
|
if(StringUtils.isNotEmpty(fsUser.getAppId())){
|
|
if(StringUtils.isNotEmpty(fsUser.getAppId())){
|
|
|
// 获取用户看过的小程序ID集合
|
|
// 获取用户看过的小程序ID集合
|