add
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.sunyard.chsm;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* @author liulu
|
||||
* @since 2024/10/25
|
||||
*/
|
||||
@Slf4j
|
||||
@SpringBootApplication
|
||||
public class WebServerApp {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SpringApplication.run(WebServerApp.class, args);
|
||||
log.info("---------------------WebServerApp 启动完成-------------------");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.sunyard.chsm.config;
|
||||
|
||||
import org.springframework.web.servlet.HandlerInterceptor;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* @author liulu
|
||||
* @since 2024/11/13
|
||||
*/
|
||||
public class AuthHandler implements HandlerInterceptor {
|
||||
|
||||
@Override
|
||||
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
|
||||
|
||||
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.sunyard.chsm.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 应用Token服务接口
|
||||
*
|
||||
* @author liulu
|
||||
* @version V1.0
|
||||
* @since 2023/8/4
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping
|
||||
public class AppLoginController {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user