|
@@ -338,6 +338,12 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
}
|
|
|
productInfo.setExpiryDate(expiryDate);
|
|
|
tenantProductInfoService.updateById(productInfo);
|
|
|
+ //发送邮件提醒
|
|
|
+ Map<Integer, String> receivers = new HashMap<>();
|
|
|
+ receivers.put(tenantInfo.getUserId(), tenantInfo.getEmail());
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.EMAIL,
|
|
|
+ MessageTypeEnum.EMAIL_TENANT_ACTIVATION_SUCCESSFUL, receivers, null, 0, null,
|
|
|
+ "SYSTEM", tenantInfo.getName(), tenantInfo.getPhone(), "123456", "https://online.dayaedu.com");
|
|
|
//释放锁
|
|
|
bucket.delete();
|
|
|
}
|