Browse Source

预发环境修改

master
WendyYang 8 months ago
parent
commit
285df31a30
2 changed files with 45 additions and 5 deletions
  1. +7
    -5
      kq-vas-api/src/main/resources/application-pre.yml
  2. +38
    -0
      kq-vas-api/src/main/resources/security/auth-pre.yml

+ 7
- 5
kq-vas-api/src/main/resources/application-pre.yml View File

@@ -1,7 +1,8 @@
server: server:
port: 33060
port: 33061
servlet: servlet:
context-path: /kq context-path: /kq
shutdown: graceful


spring: spring:
mvc: mvc:
@@ -16,7 +17,7 @@ spring:
timeout: 5000 timeout: 5000
host: 47.98.125.47 host: 47.98.125.47
port: 26379 port: 26379
database: 7
database: 10
password: Ndkj1234 password: Ndkj1234
jedis: jedis:
pool: pool:
@@ -43,9 +44,9 @@ spring:
datasource: datasource:
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: ENC(aMGW3+FFqxyutRz9liYjAg+A72b6IQ7/ygtxO0DmQJ/LLFZkx8r4MhN8quv9L62nQ4sH55qFg+LnQoor/t8IqBACrbfNg462YNKnRyMsBmdHHxJm7i57flIQfePLDW93Omz4LZ2PbRZTvPcLLYtnQyxXSDPwDnjexHNVXTdxwuTJPBqthsVpvyA2mnn5Szef)
url: ENC(wb0tk8lqfgt48/EernfQwr3JkxO/0BW5CEq0LS828WDgcWT6W9zvf77cEpR/+yT81pPsJVkCtdwnVYQ2OgEx0SiB9FZzdAiaZaXAgUyfbIRDwKdebjFnw4c0TmrqSBHyiRoBQJTlTAKTeP0WfUp2Nvty2ESbZ2KVothuLTKbGwTMNX0rY1R3uPQYQymiClGBNNALjvXCMpw=)
username: root username: root
password: NingdaKeji123!
password: ENC(NHFdgnNk7opRJpNnZOJs51OTXb72zU//)
# 数据源 # 数据源
hikari: hikari:
# 是客户端等待连接池连接的最大毫秒数 # 是客户端等待连接池连接的最大毫秒数
@@ -76,6 +77,7 @@ mybatis-plus:
db-config: db-config:
logic-delete-value: true logic-delete-value: true
logic-not-delete-value: false logic-not-delete-value: false
logic-delete-field: deleted
logging: logging:
config: classpath:logback-spring.xml config: classpath:logback-spring.xml
#日志配置 #日志配置
@@ -119,10 +121,10 @@ swagger:
enabled: true enabled: true


hostname: iZbp13nwyvib53j4j1p2xoZ hostname: iZbp13nwyvib53j4j1p2xoZ

jasypt: jasypt:
encryptor: encryptor:
password: CodeSheep password: CodeSheep
# 指定解密算法,需要和加密时使用的算法一致
algorithm: PBEWithMD5AndDES algorithm: PBEWithMD5AndDES
# 指定initialization vector类型 # 指定initialization vector类型
iv-generator-classname: org.jasypt.iv.NoIvGenerator iv-generator-classname: org.jasypt.iv.NoIvGenerator


+ 38
- 0
kq-vas-api/src/main/resources/security/auth-pre.yml View File

@@ -0,0 +1,38 @@
security:
auth:
auth-require-url: /api/v1/user/auth/auth-require
invalid-session-url: /api/v1/user/auth/invalid-session
password-login-url: /api/v1/user/auth/login/password
logout-url: /api/v1/user/auth/logout
ignore-auth-urls:
- /api/v1/poclicy/**
- /api/v1/zzsfw/**
- /v2/api-docs
- /swagger-ui.html
- /webjars/**
- /swagger-resources/**
- /webjars/
- /api/v1/user/auth/register
- /api/v1/user/auth/auth-require
- /api/v1/user/auth/invalid-session
- /api/v1/user/auth/login/password
- /api/v1/user/auth/forget-password
- /doc.html
- /ok.html
- /open/api/**
- /api/v1/wechat/**
ignore-csrf-urls:
- /api/v1/poclicy/**
- /api/v1/zzsfw/**
- /api/v1/user/auth/**
- /v2/api-docs
- /swagger-ui.html
- /webjars/**
- /swagger-resources/**
- /webjars/
- /doc.html
- /ok.html
- /api/v1/**
- /file/**
- /optLog/**
- /dict/**

Loading…
Cancel
Save