refactor: 适配 ContiNew Starter CRUD 模块注解

This commit is contained in:
Charles7c 2024-01-17 21:51:54 +08:00
parent 47a133a065
commit 7fa70e7407

View File

@ -32,6 +32,8 @@ import org.springframework.boot.autoconfigure.web.ServerProperties;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.charles7c.continew.starter.core.autoconfigure.project.ProjectProperties;
import top.charles7c.continew.starter.extension.crud.annotation.EnableCrudRestController;
import top.charles7c.continew.starter.extension.crud.annotation.EnableGlobalExceptionHandler;
import java.net.InetAddress;
@ -46,6 +48,8 @@ import java.net.InetAddress;
@EnableFileStorage
@SpringBootApplication
@RequiredArgsConstructor
@EnableCrudRestController
@EnableGlobalExceptionHandler
@EnableMethodCache(basePackages = "top.charles7c.continew.admin")
public class ContiNewAdminApplication implements ApplicationRunner {