首页>代码>SpringBoot+Security实现sso单点登录项目实例>/Client2/src/main/java/com/voicecyber/client2/Client2Application.java
package com.voicecyber.client2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.Bean;
import org.springframework.web.context.request.RequestContextListener;

/**
 * @Author: YafengLiang
 * @Description:
 * @Date: Created in  15:56 2019/1/10
 */

@SpringBootApplication
public class Client2Application extends SpringBootServletInitializer {

    @Bean
    public RequestContextListener requestContextListener() {
        return new RequestContextListener();
    }

    public static void main(String[] args) {
        SpringApplication.run(Client2Application.class, args);
    }

}
最近下载更多
樊樊樊樊樊樊阵雨  LV18 2023年1月12日
a1677596408  LV23 2022年3月28日
杨成宇  LV6 2022年3月3日
1325564393  LV3 2022年2月17日
crosa_Don  LV18 2021年12月2日
Echo  LV2 2021年11月24日
天险无涯  LV15 2021年10月14日
mumugong  LV6 2021年10月9日
mudingc木钉  LV30 2021年6月16日
cwx1234  LV11 2021年5月12日
最近浏览更多
0592lyj  LV9 1月5日
GJQ123  LV4 2023年12月29日
hjjhhhh  LV4 2023年12月20日
chenlie  LV2 2023年11月13日
易云科技 2023年9月14日
暂无贡献等级
sdhfkh  LV4 2023年6月12日
123xyz  LV2 2023年4月14日
女王不该在山炮村养花  LV8 2023年4月13日
微信网友_5992582549164032  LV6 2023年2月16日
樊樊樊樊樊樊阵雨  LV18 2023年1月12日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友