Compare commits
1 Commits
develop
...
soul2/redi
Author | SHA1 | Date |
---|---|---|
|
5561e1fb76 | 3 years ago |
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 @@ |
||||
# 允许跨域的地址 |
||||
|
||||
cors: |
||||
allow-origin: http://localhost |
||||
cn.soul2: |
||||
cors: |
||||
allow-origin: http://localhost |
||||
|
||||
--- |
||||
spring: |
||||
config: |
||||
activate: |
||||
on-profile: dev |
||||
|
||||
cors: |
||||
allow-origin: http://localhost:6901 |
||||
config.activate.on-profile: dev |
||||
|
||||
--- |
||||
spring: |
||||
config: |
||||
activate: |
||||
on-profile: prod |
||||
cn.soul2: |
||||
cors: |
||||
allow-origin: http://localhost:6901 |
@ -1,5 +1,8 @@ |
||||
# mybatis-plus 逻辑删除配置 |
||||
mybatis-plus.global-config.db-config: |
||||
dbType: mysql |
||||
logic-delete-value: 1 |
||||
logic-not-delete-value: 0 |
||||
mybatis-plus: |
||||
configuration: |
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志 |
||||
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