增加对定时任务的说明

This commit is contained in:
xuguang
2022-01-21 10:50:29 +08:00
parent 373680d854
commit fdce41b451
15 changed files with 31 additions and 0 deletions

View File

@@ -275,6 +275,9 @@ public class AccountServiceImpl implements AccountService {
return enterpriseStaffService.searchEnterpriseStaffByKeyWord(prefix);
}
/**
* 定时刷新account信息到缓存中
*/
@Scheduled(cron ="0/5 * * * * ?")
public void flush() {
try {