yangys
2025-05-26 2ba2c339acf41fd7bb2a49f0ce186fd664a80cb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.qianwen.license.runner;
 
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
 
import com.qianwen.license.common.LicenseVerify;
import com.qianwen.license.common.LicenseVerifyParam;
import com.qianwen.license.db.H2Helper;
 
@Component
public class InitRunner implements ApplicationRunner {
    private static final Logger log = LoggerFactory.getLogger(InitRunner.class);
    
    
    @Override
    public void run(ApplicationArguments args) throws Exception {
        
        //mappingService.saveToCache();
        H2Helper.createDb();
        
        //安装证书
    }
 
    
}