From 1b907ff9366dbcbbee4cc94c2daa1a5f45f193fc Mon Sep 17 00:00:00 2001 From: Wtd <1658714322@qq.com> Date: Thu, 2 Nov 2023 17:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=AD=E5=BB=BA=E7=97=85=E5=8F=8B=E5=9C=88?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++-- .../main/java/com/february/patient/PatientApplication.java | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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) {