This commit is contained in:
z 2025-04-27 23:02:23 +08:00
parent f7e3a6ae2e
commit 1507a67630
7 changed files with 11 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping
@RequestMapping("/api/auth")
public class HelloController {

View File

@ -3,8 +3,16 @@ server:
spring:
datasource:
url: jdbc:mysql://localhost:3306/111?useUnicode=true&characterEncoding=utf8
url: jdbc:mysql://localhost:3306/zsgc?useUnicode=true&characterEncoding=utf8
username: root
password: '@liu061102'
password: '@Cln20001003'
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
data:
redis:
host: localhost
port: 6379
database: 0