package com.gangquan360.smartadmin.listener;

import com.gangquan360.smartadmin.common.constant.ResponseCodeConst;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * 应用启动以后检测code码
 *
 * @author zhuo
 * @version 1.0
 * @since JDK1.8
 */

@Component
public class SmartAdminStartupRunner implements CommandLineRunner {

    @Override
    public void run(String... args) {
        ResponseCodeConst.init();
    }
}