1
This commit is contained in:
parent
f7e3a6ae2e
commit
1507a67630
@ -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 {
|
||||
|
||||
|
||||
|
0
src/main/java/com/example/demo/model/News.java
Normal file
0
src/main/java/com/example/demo/model/News.java
Normal 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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user