diff --git a/.gitignore b/.gitignore index 5ff6309..675524d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ target/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/**/target/ !**/src/test/**/target/ - +logs ### IntelliJ IDEA ### .idea/modules.xml .idea/jarRepositories.xml @@ -35,4 +35,4 @@ build/ .vscode/ ### Mac OS ### -.DS_Store \ No newline at end of file +.DS_Store diff --git a/february-patient-server/src/main/java/com/february/patient/PatientApplication.java b/february-patient-server/src/main/java/com/february/patient/PatientApplication.java index 835bc59..32095d3 100644 --- a/february-patient-server/src/main/java/com/february/patient/PatientApplication.java +++ b/february-patient-server/src/main/java/com/february/patient/PatientApplication.java @@ -1,5 +1,8 @@ package com.february.patient; +import com.february.common.security.annotation.EnableCustomConfig; +import com.february.common.security.annotation.EnableRyFeignClients; +import com.february.common.swagger.annotation.EnableCustomSwagger2; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @@ -9,6 +12,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; * @author: Mr.Wang * @create: 2023-11-02 17:22 **/ +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients @SpringBootApplication public class PatientApplication { public static void main(String[] args) {