搭建病友圈模块

master
王堂东 2023-11-02 17:33:07 +08:00
parent 22adfa5204
commit 1b907ff936
2 changed files with 8 additions and 2 deletions

4
.gitignore vendored
View File

@ -2,7 +2,7 @@ target/
!.mvn/wrapper/maven-wrapper.jar !.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/ !**/src/main/**/target/
!**/src/test/**/target/ !**/src/test/**/target/
logs
### IntelliJ IDEA ### ### IntelliJ IDEA ###
.idea/modules.xml .idea/modules.xml
.idea/jarRepositories.xml .idea/jarRepositories.xml
@ -35,4 +35,4 @@ build/
.vscode/ .vscode/
### Mac OS ### ### Mac OS ###
.DS_Store .DS_Store

View File

@ -1,5 +1,8 @@
package com.february.patient; 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.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
@ -9,6 +12,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* @author: Mr.Wang * @author: Mr.Wang
* @create: 2023-11-02 17:22 * @create: 2023-11-02 17:22
**/ **/
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication @SpringBootApplication
public class PatientApplication { public class PatientApplication {
public static void main(String[] args) { public static void main(String[] args) {