diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..76b946f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +.target \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..3555600 --- /dev/null +++ b/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.2.2 + + + cn.hezhaohui.pc + permission-control + 1.0-SNAPSHOT + jar + + Permission Control + AOP-based permission control system with custom annotations and RBAC + + + 21 + 21 + UTF-8 + + + + + + org.springframework.boot + spring-boot-starter-web + + + + + mysql + mysql-connector-java + 8.0.30 + + + + + com.baomidou + mybatis-plus-spring-boot3-starter + 3.5.14 + + + + + org.projectlombok + lombok + provided + + + diff --git a/src/main/java/cn/hezhaohui/pc/Application.java b/src/main/java/cn/hezhaohui/pc/Application.java new file mode 100644 index 0000000..0f56e3c --- /dev/null +++ b/src/main/java/cn/hezhaohui/pc/Application.java @@ -0,0 +1,13 @@ +package cn.hezhaohui.pc; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +@MapperScan("cn.hezhaohui.pc.mapper") +public class Application { + public static void main(String[] args) { + SpringApplication.run(Application.class, args); + } +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..d48352e --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,6 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + username: root + password: dn293830 + url: jdbc:mysql://47.121.181.112:3306/pc \ No newline at end of file