parent
996c59417b
commit
caeb3fbf64
17 changed files with 208 additions and 227 deletions
@ -1,13 +1,13 @@ |
||||
//package com.daqing.financial.crms.config;
|
||||
//
|
||||
//import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//
|
||||
//@Configuration
|
||||
//public class IPageConfig {
|
||||
// @Bean
|
||||
// public PaginationInterceptor paginationInterceptor() {
|
||||
// return new PaginationInterceptor();
|
||||
// }
|
||||
//}
|
||||
package com.daqing.financial.crms.config; |
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; |
||||
import org.springframework.context.annotation.Bean; |
||||
import org.springframework.context.annotation.Configuration; |
||||
|
||||
@Configuration |
||||
public class IPageConfig { |
||||
@Bean |
||||
public PaginationInterceptor paginationInterceptor() { |
||||
return new PaginationInterceptor(); |
||||
} |
||||
} |
||||
|
@ -1,59 +1,59 @@ |
||||
# 开发和测试环境(dev) |
||||
#服务名称 |
||||
spring.application.name=dq-financial-crms |
||||
#配置中心地址 |
||||
spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
spring.cloud.nacos.config.namespace=1f69d47e-0aeb-4a1e-8ab4-0e84dfb86354 |
||||
#spring.cloud.nacos.config.group=prod |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=dev |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
spring.cloud.nacos.config.ext-config[1].group=dev |
||||
spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
spring.cloud.nacos.config.ext-config[2].group=dev |
||||
spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
|
||||
spring.redis.host=127.0.0.1 |
||||
spring.redis.port=6379 |
||||
spring.redis.password=123456 |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
||||
|
||||
# 正式环境(prod) |
||||
#服务名称 |
||||
#spring.application.name=dq-financial-crms |
||||
##配置中心地址 |
||||
#spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
#spring.cloud.nacos.config.namespace=25ce05e2-a0eb-4842-92e4-d8b550a489dd |
||||
#spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
#spring.cloud.nacos.config.namespace=1f69d47e-0aeb-4a1e-8ab4-0e84dfb86354 |
||||
##spring.cloud.nacos.config.group=prod |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
#spring.cloud.nacos.config.ext-config[0].group=prod |
||||
#spring.cloud.nacos.config.ext-config[0].group=dev |
||||
#spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
#spring.cloud.nacos.config.ext-config[1].group=prod |
||||
#spring.cloud.nacos.config.ext-config[1].group=dev |
||||
#spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
#spring.cloud.nacos.config.ext-config[2].group=prod |
||||
#spring.cloud.nacos.config.ext-config[2].group=dev |
||||
#spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
# |
||||
#spring.redis.host=127.0.0.1 |
||||
#spring.redis.port=6379 |
||||
#spring.redis.password=dq123456 |
||||
#spring.redis.password=123456 |
||||
#spring.redis.database=0 |
||||
#spring.redis.timeout=30000 |
||||
#spring.redis.jedis.pool.max-active=8 |
||||
#spring.redis.jedis.pool.max-wait=-1 |
||||
#spring.redis.jedis.pool.max-idle=8 |
||||
#spring.redis.jedis.pool.min-idle=0 |
||||
#spring.redis.jedis.pool.min-idle=0 |
||||
|
||||
# 正式环境(prod) |
||||
#服务名称 |
||||
spring.application.name=dq-financial-crms |
||||
#配置中心地址 |
||||
spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
spring.cloud.nacos.config.namespace=25ce05e2-a0eb-4842-92e4-d8b550a489dd |
||||
#spring.cloud.nacos.config.group=prod |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=prod |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
spring.cloud.nacos.config.ext-config[1].group=prod |
||||
spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
spring.cloud.nacos.config.ext-config[2].group=prod |
||||
spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
|
||||
spring.redis.host=127.0.0.1 |
||||
spring.redis.port=6379 |
||||
spring.redis.password=dq123456 |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
@ -1,58 +1,58 @@ |
||||
# 开发和测试环境(dev) |
||||
spring.application.name=dq-financial-hrms-auth |
||||
|
||||
spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
spring.cloud.nacos.config.namespace=7632bdaa-3381-4669-b3f9-2fc73be451e8 |
||||
#spring.cloud.nacos.config.group=prod |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=dev |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
spring.cloud.nacos.config.ext-config[1].group=dev |
||||
spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
spring.cloud.nacos.config.ext-config[2].group=dev |
||||
spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
|
||||
spring.redis.host=127.0.0.1 |
||||
spring.redis.port=6379 |
||||
spring.redis.password=123456 |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
||||
|
||||
# |
||||
##正式环境(prod) |
||||
#spring.application.name=dq-financial-hrms-auth |
||||
# |
||||
#spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
#spring.cloud.nacos.config.namespace=b590c830-7ada-44b7-968f-e8d0c81990c4 |
||||
#spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
#spring.cloud.nacos.config.namespace=7632bdaa-3381-4669-b3f9-2fc73be451e8 |
||||
##spring.cloud.nacos.config.group=prod |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
#spring.cloud.nacos.config.ext-config[0].group=prod |
||||
#spring.cloud.nacos.config.ext-config[0].group=dev |
||||
#spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
#spring.cloud.nacos.config.ext-config[1].group=prod |
||||
#spring.cloud.nacos.config.ext-config[1].group=dev |
||||
#spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
#spring.cloud.nacos.config.ext-config[2].group=prod |
||||
#spring.cloud.nacos.config.ext-config[2].group=dev |
||||
#spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
# |
||||
#spring.redis.host=127.0.0.1 |
||||
#spring.redis.port=6379 |
||||
#spring.redis.password=dq123456 |
||||
#spring.redis.password=123456 |
||||
#spring.redis.database=0 |
||||
#spring.redis.timeout=30000 |
||||
#spring.redis.jedis.pool.max-active=8 |
||||
#spring.redis.jedis.pool.max-wait=-1 |
||||
#spring.redis.jedis.pool.max-idle=8 |
||||
#spring.redis.jedis.pool.min-idle=0 |
||||
#spring.redis.jedis.pool.min-idle=0 |
||||
|
||||
|
||||
#正式环境(prod) |
||||
spring.application.name=dq-financial-hrms-auth |
||||
|
||||
spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
spring.cloud.nacos.config.namespace=b590c830-7ada-44b7-968f-e8d0c81990c4 |
||||
#spring.cloud.nacos.config.group=prod |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=prod |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
spring.cloud.nacos.config.ext-config[1].group=prod |
||||
spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
spring.cloud.nacos.config.ext-config[2].group=prod |
||||
spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
|
||||
spring.redis.host=127.0.0.1 |
||||
spring.redis.port=6379 |
||||
spring.redis.password=dq123456 |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
@ -1,13 +1,13 @@ |
||||
//package com.daqing.financial.hrms.config;
|
||||
//
|
||||
//import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//
|
||||
//@Configuration
|
||||
//public class IPageConfig {
|
||||
// @Bean
|
||||
// public PaginationInterceptor paginationInterceptor() {
|
||||
// return new PaginationInterceptor();
|
||||
// }
|
||||
//}
|
||||
package com.daqing.financial.hrms.config; |
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; |
||||
import org.springframework.context.annotation.Bean; |
||||
import org.springframework.context.annotation.Configuration; |
||||
|
||||
@Configuration |
||||
public class IPageConfig { |
||||
@Bean |
||||
public PaginationInterceptor paginationInterceptor() { |
||||
return new PaginationInterceptor(); |
||||
} |
||||
} |
||||
|
@ -1,61 +1,61 @@ |
||||
#服务名称 |
||||
spring.application.name=dq-financial-hrms |
||||
#配置中心地址 |
||||
spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
spring.cloud.nacos.config.namespace=4c56c2f9-b6a3-4e7b-88b8-b1001e86dfd6 |
||||
#spring.cloud.nacos.config.group=prod |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=dev |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
spring.cloud.nacos.config.ext-config[1].group=dev |
||||
spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
spring.cloud.nacos.config.ext-config[2].group=dev |
||||
spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
|
||||
spring.redis.host=127.0.0.1 |
||||
spring.redis.port=6379 |
||||
spring.redis.password=123456 |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
||||
|
||||
spring.servlet.multipart.max-file-size=10MB |
||||
spring.servlet.multipart.max-request-size=10MB |
||||
|
||||
# 正式环境(prod) |
||||
#服务名称 |
||||
#spring.application.name=dq-financial-hrms |
||||
##配置中心地址 |
||||
#spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
#spring.cloud.nacos.config.namespace=69614b55-1521-421c-ac58-dbe4a5b01b43 |
||||
#spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
#spring.cloud.nacos.config.namespace=4c56c2f9-b6a3-4e7b-88b8-b1001e86dfd6 |
||||
##spring.cloud.nacos.config.group=prod |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
#spring.cloud.nacos.config.ext-config[0].group=prod |
||||
#spring.cloud.nacos.config.ext-config[0].group=dev |
||||
#spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
#spring.cloud.nacos.config.ext-config[1].group=prod |
||||
#spring.cloud.nacos.config.ext-config[1].group=dev |
||||
#spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
#spring.cloud.nacos.config.ext-config[2].group=prod |
||||
#spring.cloud.nacos.config.ext-config[2].group=dev |
||||
#spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
# |
||||
#spring.redis.host=127.0.0.1 |
||||
#spring.redis.port=6379 |
||||
#spring.redis.password=dq123456 |
||||
#spring.redis.password=123456 |
||||
#spring.redis.database=0 |
||||
#spring.redis.timeout=30000 |
||||
#spring.redis.jedis.pool.max-active=8 |
||||
#spring.redis.jedis.pool.max-wait=-1 |
||||
#spring.redis.jedis.pool.max-idle=8 |
||||
#spring.redis.jedis.pool.min-idle=0 |
||||
#spring.redis.jedis.pool.min-idle=0 |
||||
# |
||||
#spring.servlet.multipart.max-file-size=10MB |
||||
#spring.servlet.multipart.max-request-size=10MB |
||||
|
||||
# 正式环境(prod) |
||||
#服务名称 |
||||
spring.application.name=dq-financial-hrms |
||||
#配置中心地址 |
||||
spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
spring.cloud.nacos.config.namespace=69614b55-1521-421c-ac58-dbe4a5b01b43 |
||||
#spring.cloud.nacos.config.group=prod |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=datasource.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=prod |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[1].data-id=mybatis.yml |
||||
spring.cloud.nacos.config.ext-config[1].group=prod |
||||
spring.cloud.nacos.config.ext-config[1].refresh=true |
||||
|
||||
spring.cloud.nacos.config.ext-config[2].data-id=other.yml |
||||
spring.cloud.nacos.config.ext-config[2].group=prod |
||||
spring.cloud.nacos.config.ext-config[2].refresh=true |
||||
|
||||
spring.redis.host=127.0.0.1 |
||||
spring.redis.port=6379 |
||||
spring.redis.password=dq123456 |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
@ -1,40 +1,40 @@ |
||||
#服务名称 |
||||
#spring.application.name=dq-govern-gateway |
||||
###配置中心地址 |
||||
##spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
##spring.cloud.nacos.config.namespace=772e2607-b929-4246-9671-ee5a36d74d25 |
||||
## |
||||
##spring.cloud.nacos.config.ext-config[0].data-id=dq-govern-gateway.yml |
||||
##spring.cloud.nacos.config.ext-config[0].group=dev |
||||
##spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
## |
||||
##spring.redis.host=127.0.0.1 |
||||
##spring.redis.port=6379 |
||||
##spring.redis.password=123456 |
||||
##spring.redis.database=0 |
||||
##spring.redis.timeout=30000 |
||||
##spring.redis.jedis.pool.max-active=8 |
||||
##spring.redis.jedis.pool.max-wait=-1 |
||||
##spring.redis.jedis.pool.max-idle=8 |
||||
##spring.redis.jedis.pool.min-idle=0 |
||||
|
||||
# 正式环境(prod) |
||||
#服务名称 |
||||
spring.application.name=dq-govern-gateway |
||||
#配置中心地址 |
||||
spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
spring.cloud.nacos.config.namespace=772e2607-b929-4246-9671-ee5a36d74d25 |
||||
spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
spring.cloud.nacos.config.namespace=68738215-903f-426c-8658-2dcd99b20009 |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=dq-govern-gateway.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=dev |
||||
spring.cloud.nacos.config.ext-config[0].group=prod |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.redis.host=127.0.0.1 |
||||
spring.redis.port=6379 |
||||
spring.redis.password=123456 |
||||
spring.redis.password=dq123456 |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
||||
|
||||
# 正式环境(prod) |
||||
#服务名称 |
||||
#spring.application.name=dq-govern-gateway |
||||
##配置中心地址 |
||||
#spring.cloud.nacos.config.server-addr=120.78.127.12:8848 |
||||
#spring.cloud.nacos.config.namespace=68738215-903f-426c-8658-2dcd99b20009 |
||||
# |
||||
#spring.cloud.nacos.config.ext-config[0].data-id=dq-govern-gateway.yml |
||||
#spring.cloud.nacos.config.ext-config[0].group=prod |
||||
#spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
# |
||||
#spring.redis.host=127.0.0.1 |
||||
#spring.redis.port=6379 |
||||
#spring.redis.password=dq123456 |
||||
#spring.redis.database=0 |
||||
#spring.redis.timeout=30000 |
||||
#spring.redis.jedis.pool.max-active=8 |
||||
#spring.redis.jedis.pool.max-wait=-1 |
||||
#spring.redis.jedis.pool.max-idle=8 |
||||
#spring.redis.jedis.pool.min-idle=0 |
||||
spring.redis.jedis.pool.min-idle=0 |
Loading…
Reference in new issue