Initial commit

This commit is contained in:
2023-03-15 21:11:29 +08:00
parent 19ab07f8ce
commit 3e396faf41
33 changed files with 451 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package com.yv;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Springboot08SsmpApplication {
public static void main(String[] args) {
SpringApplication.run(Springboot08SsmpApplication.class, args);
}
}

View File

@@ -0,0 +1,16 @@
# 配置相关配置
#spring:
# datasource:
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://localhost:3306/ssm_db?useSSL=false
# username: root
# password: 8520
# type: com.alibaba.druid.pool.DruidDataSource
spring:
datasource:
druid:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/ssm_db?useSSL=false
username: root
password: 8520

View File

@@ -0,0 +1,13 @@
package com.yv;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class Springboot08SsmpApplicationTests {
@Test
void contextLoads() {
}
}