feat: 流量和余额不足提醒
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package org.wfc.job.task;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.wfc.common.core.domain.R;
|
||||
import org.wfc.user.api.RemoteUUserService;
|
||||
|
||||
/**
|
||||
* @description: 警报任务
|
||||
* @author: cyc
|
||||
* @since: 2025-06-16
|
||||
*/
|
||||
@Slf4j
|
||||
@Component("reminderTask")
|
||||
public class ReminderTask {
|
||||
|
||||
@Autowired
|
||||
private RemoteUUserService remoteUUserService;
|
||||
|
||||
public R<Boolean> reminderJob() {
|
||||
return remoteUUserService.sendReminderEMail();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user