Skip to content

Commit

Permalink
refactor: 适配 ContiNew Starter CRUD 模块注解
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Jan 17, 2024
1 parent 47a133a commit 7fa70e7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
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;

Expand All @@ -46,6 +48,8 @@
@EnableFileStorage
@SpringBootApplication
@RequiredArgsConstructor
@EnableCrudRestController
@EnableGlobalExceptionHandler
@EnableMethodCache(basePackages = "top.charles7c.continew.admin")
public class ContiNewAdminApplication implements ApplicationRunner {

Expand Down

0 comments on commit 7fa70e7

Please sign in to comment.