Skip to content

Commit

Permalink
refactor: 使用 ContiNew Starter 全局错误处理配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Nov 30, 2023
1 parent c7a4e32 commit b62095d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 98 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.ServerProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

Expand All @@ -50,8 +48,6 @@
@RestController
@SpringBootApplication
@RequiredArgsConstructor
@Import(cn.hutool.extra.spring.SpringUtil.class)
@ComponentScan(basePackages = {"top.charles7c.cnadmin", "cn.hutool.extra.spring"})
public class ContiNewAdminApplication implements ApplicationRunner {

private final ProjectProperties projectProperties;
Expand Down

0 comments on commit b62095d

Please sign in to comment.