parent
dd590b6cf6
commit
5561e1fb76
11 changed files with 110 additions and 25 deletions
@ -0,0 +1,11 @@ |
|||||||
|
package cn.soul2.demo.utils; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author Soul2 |
||||||
|
* @date 2022-09-21 21:53 |
||||||
|
*/ |
||||||
|
|
||||||
|
public class RedisUtils { |
||||||
|
|
||||||
|
|
||||||
|
} |
@ -1,19 +1,12 @@ |
|||||||
# 允许跨域的地址 |
# 允许跨域的地址 |
||||||
|
cn.soul2: |
||||||
cors: |
cors: |
||||||
allow-origin: http://localhost |
allow-origin: http://localhost |
||||||
|
|
||||||
--- |
--- |
||||||
spring: |
spring: |
||||||
config: |
config.activate.on-profile: dev |
||||||
activate: |
|
||||||
on-profile: dev |
|
||||||
|
|
||||||
cors: |
|
||||||
allow-origin: http://localhost:6901 |
|
||||||
|
|
||||||
--- |
cn.soul2: |
||||||
spring: |
cors: |
||||||
config: |
allow-origin: http://localhost:6901 |
||||||
activate: |
|
||||||
on-profile: prod |
|
@ -1,5 +1,8 @@ |
|||||||
# mybatis-plus 逻辑删除配置 |
# mybatis-plus 逻辑删除配置 |
||||||
mybatis-plus.global-config.db-config: |
mybatis-plus: |
||||||
dbType: mysql |
configuration: |
||||||
logic-delete-value: 1 |
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志 |
||||||
logic-not-delete-value: 0 |
global-config.db-config: |
||||||
|
dbType: mysql |
||||||
|
logic-delete-value: 1 |
||||||
|
logic-not-delete-value: 0 |
||||||
|
@ -0,0 +1,21 @@ |
|||||||
|
spring: |
||||||
|
redis: |
||||||
|
database: 0 |
||||||
|
host: localhost |
||||||
|
port: 6379 |
||||||
|
timeout: 3000 |
||||||
|
|
||||||
|
--- |
||||||
|
|
||||||
|
spring: |
||||||
|
config.activate.on-profile: local |
||||||
|
|
||||||
|
--- |
||||||
|
|
||||||
|
spring: |
||||||
|
config.activate.on-profile: dev |
||||||
|
redis: |
||||||
|
password: 8bg31UY8mg |
||||||
|
host: next.soul2.cn |
||||||
|
|
||||||
|
|
Loading…
Reference in new issue