|
@@ -345,7 +345,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
tenantProductInfoService.updateById(productInfo);
|
|
|
//发送邮件及短信提醒
|
|
|
Object[] msg = {tenantInfo.getName(), tenantInfo.getPhone(), "123456", "https://online.dayaedu.com"};
|
|
|
- tenantInfoSendMsgService.sendToAll(OPEN, tenantInfo.getUserId(), tenantInfo.getEmail(), tenantInfo.getPhone(), msg);
|
|
|
+ tenantInfoSendMsgService.platformSendToAll(OPEN, tenantInfo.getEmail(), tenantInfo.getPhone(), msg);
|
|
|
//释放锁
|
|
|
bucket.delete();
|
|
|
}
|
|
@@ -574,7 +574,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
TenantInfo tenantInfo = this.getById(tenantId);
|
|
|
//发送邮件及短信提醒
|
|
|
Object[] msg = {tenantInfo.getName()};
|
|
|
- tenantInfoSendMsgService.sendToAll(RENEW, tenantInfo.getUserId(), tenantInfo.getEmail(), tenantInfo.getPhone(), msg);
|
|
|
+ tenantInfoSendMsgService.platformSendToAll(RENEW, tenantInfo.getEmail(), tenantInfo.getPhone(), msg);
|
|
|
//释放锁
|
|
|
bucket.delete();
|
|
|
}
|
|
@@ -842,7 +842,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
private void send(List<TenantInfo> infoList, String dateStr) {
|
|
|
infoList.forEach(t -> {
|
|
|
Object[] objects = {t.getName(), dateStr};
|
|
|
- tenantInfoSendMsgService.sendToAll(EXPIRATION, t.getUserId(), t.getEmail(), t.getPhone(), objects);
|
|
|
+ tenantInfoSendMsgService.platformSendToAll(EXPIRATION, t.getEmail(), t.getPhone(), objects);
|
|
|
});
|
|
|
}
|
|
|
|