mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-02-07 17:31:56 +08:00
让项目跑起来;
auth模块还没有加jwt实现,无法登录;
This commit is contained in:
6
pom.xml
6
pom.xml
@@ -209,6 +209,12 @@
|
||||
<version>1.1.14</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.10</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
server:
|
||||
port: 80
|
||||
spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
@@ -8,5 +6,3 @@ spring:
|
||||
password: root
|
||||
url: jdbc:mysql://localhost:3306/ry-cloud?serverTimezone=Asia/Shanghai
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
application:
|
||||
name: ruoyi-system
|
||||
1
ruoyi-auth/src/main/resources/application-dev.yml
Normal file
1
ruoyi-auth/src/main/resources/application-dev.yml
Normal file
@@ -0,0 +1 @@
|
||||
debug: true
|
||||
@@ -1,8 +0,0 @@
|
||||
spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
druid:
|
||||
username: root
|
||||
password: root
|
||||
url: jdbc:mysql://localhost:3306/ry-cloud?serverTimezone=Asia/Shanghai
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
@@ -40,6 +40,11 @@
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--验证码 -->
|
||||
<dependency>
|
||||
<groupId>com.github.penggle</groupId>
|
||||
@@ -64,6 +69,11 @@
|
||||
<version>${swagger.fox.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
||||
13
ruoyi-gateway/src/main/resources/application-dev.yml
Normal file
13
ruoyi-gateway/src/main/resources/application-dev.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
spring:
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
- id: authRoute
|
||||
uri: lb://ruoyi-auth
|
||||
order: 10000
|
||||
predicates:
|
||||
- Path=/auth/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
|
||||
debug: true
|
||||
@@ -22,3 +22,4 @@ spring:
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Tomcat
|
||||
server:
|
||||
port: 9201
|
||||
port: 80
|
||||
|
||||
# Spring
|
||||
spring:
|
||||
|
||||
Reference in New Issue
Block a user