xyc
2024-10-28 7e9c0112db595d9d0c2a0038923fd94f960da43b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.zt.life;
 
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
 
@Component
public class StartupHandler implements ApplicationRunner {
 
    @Override
    public void run(ApplicationArguments args) throws Exception {
        // 刷新缓存
    }
}