|
@@ -92,8 +92,8 @@ public class SysNewsInformationServiceImpl extends BaseServiceImpl<Long, SysNews
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (date.after(startDate)) {
|
|
|
|
- if (user != null) {
|
|
|
|
|
|
+ if (queryInfo.getTenantId() == 1 && date.after(startDate)) {
|
|
|
|
+ if (user != null && "18696158274".equals(user.getPhone()) == false) {
|
|
isNewer = webFeignService.isPurchasedPracticeCourse(user.getId()) == false;
|
|
isNewer = webFeignService.isPurchasedPracticeCourse(user.getId()) == false;
|
|
SysNewsInformation info = new SysNewsInformation();
|
|
SysNewsInformation info = new SysNewsInformation();
|
|
info.setOrder(1);
|
|
info.setOrder(1);
|
|
@@ -128,7 +128,7 @@ public class SysNewsInformationServiceImpl extends BaseServiceImpl<Long, SysNews
|
|
SysNewsInformation info = new SysNewsInformation();
|
|
SysNewsInformation info = new SysNewsInformation();
|
|
info.setOrder(1);
|
|
info.setOrder(1);
|
|
|
|
|
|
- if (date.after(startDate)) {
|
|
|
|
|
|
+ if (queryInfo.getTenantId() == 1 && date.after(startDate)) {
|
|
if (isNewer) {
|
|
if (isNewer) {
|
|
info.setLinkUrl(serverContextPath + "/#/auditionActive/1");
|
|
info.setLinkUrl(serverContextPath + "/#/auditionActive/1");
|
|
info.setCoverImage("https://daya-online.oss-cn-beijing.aliyuncs.com/tempActivity/5_1.jpg");
|
|
info.setCoverImage("https://daya-online.oss-cn-beijing.aliyuncs.com/tempActivity/5_1.jpg");
|