From ccfe65392a86f04f1d4a0d8b994d5b9a5ce3eba9 Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Fri, 25 Dec 2020 10:41:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9maven=E8=81=9A=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dq_financial_crms_Web_exploded.xml | 13 ++ .idea/compiler.xml | 4 + .idea/encodings.xml | 4 + .idea/sqldialects.xml | 1 + dq-financial-api/pom.xml | 22 ++-- .../financial/DqFinancialApiApplication.java | 13 -- .../financial/config/SwaggerConfig.java | 2 - .../hrms/PermissionControllerApi.java | 1 - dq-financial-crms/pom.xml | 42 +++---- .../crms/DqFinancialCrmsApplication.java | 5 +- .../financial/crms/config/IPageConfig.java | 2 - .../src/main/resources/bootstrap.properties | 72 +++++------ dq-financial-guarantee/pom.xml | 26 +--- .../src/main/resources/bootstrap.properties | 66 +++++----- dq-financial-hrms-auth/pom.xml | 11 +- .../financial/hrauth/config/IPageConfig.java | 14 +-- .../src/main/resources/bootstrap.properties | 66 +++++----- dq-financial-hrms/pom.xml | 7 +- .../hrms/DqFinancialHrmsApplication.java | 1 + .../hrms/service/impl/DeptServiceImpl.java | 4 +- .../service/impl/PermissionServiceImpl.java | 83 +------------ .../src/main/resources/bootstrap.properties | 106 ++++++++-------- dq-framework-common/pom.xml | 48 +++----- dq-framework-model/pom.xml | 21 +++- dq-framework-utils/pom.xml | 36 ++---- dq-govern-gateway/pom.xml | 31 +---- .../src/main/resources/bootstrap.properties | 56 ++++----- financial.ipr | 116 ++++++++++++++++++ pom.xml | 48 +++++++- 29 files changed, 473 insertions(+), 448 deletions(-) create mode 100644 .idea/artifacts/dq_financial_crms_Web_exploded.xml delete mode 100644 dq-financial-api/src/main/java/com/daqing/financial/DqFinancialApiApplication.java create mode 100644 financial.ipr diff --git a/.idea/artifacts/dq_financial_crms_Web_exploded.xml b/.idea/artifacts/dq_financial_crms_Web_exploded.xml new file mode 100644 index 00000000..24037e04 --- /dev/null +++ b/.idea/artifacts/dq_financial_crms_Web_exploded.xml @@ -0,0 +1,13 @@ + + + $PROJECT_DIR$/out/artifacts/dq_financial_crms_Web_exploded + + + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 13d90be3..89d5c3e1 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -25,12 +25,16 @@ diff --git a/.idea/encodings.xml b/.idea/encodings.xml index 7f97a975..8703e7ad 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -1,6 +1,7 @@ + @@ -12,6 +13,9 @@ + + + diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml index 7f3f3332..ebb0ac7a 100644 --- a/.idea/sqldialects.xml +++ b/.idea/sqldialects.xml @@ -1,6 +1,7 @@ + diff --git a/dq-financial-api/pom.xml b/dq-financial-api/pom.xml index 90eb2948..8dd178b0 100644 --- a/dq-financial-api/pom.xml +++ b/dq-financial-api/pom.xml @@ -9,10 +9,9 @@ 4.0.0 - com.daqing.financial dq-financial-api - 系统API统一定义 + 系统API统一定义api @@ -27,12 +26,19 @@ spring-boot-starter-web 2.1.8.RELEASE - + + + + + org.springframework.boot + spring-boot-maven-plugin + + true + + + + + \ No newline at end of file diff --git a/dq-financial-api/src/main/java/com/daqing/financial/DqFinancialApiApplication.java b/dq-financial-api/src/main/java/com/daqing/financial/DqFinancialApiApplication.java deleted file mode 100644 index 96efe364..00000000 --- a/dq-financial-api/src/main/java/com/daqing/financial/DqFinancialApiApplication.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.daqing.financial; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import springfox.documentation.swagger2.annotations.EnableSwagger2; - -@SpringBootApplication -@EnableSwagger2 -public class DqFinancialApiApplication { - public static void main(String[] args) { - SpringApplication.run(DqFinancialApiApplication.class, args); - } -} diff --git a/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java b/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java index eb8759e3..1994fbf3 100644 --- a/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java +++ b/dq-financial-api/src/main/java/com/daqing/financial/config/SwaggerConfig.java @@ -19,8 +19,6 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; */ @Configuration @EnableSwagger2 -//@Profile({"dev","test"}) -//@ConditionalOnProperty(name = "swagger.enable", havingValue = "true") public class SwaggerConfig { @Bean diff --git a/dq-financial-api/src/main/java/com/daqing/financial/hrms/PermissionControllerApi.java b/dq-financial-api/src/main/java/com/daqing/financial/hrms/PermissionControllerApi.java index b77513a7..19835153 100644 --- a/dq-financial-api/src/main/java/com/daqing/financial/hrms/PermissionControllerApi.java +++ b/dq-financial-api/src/main/java/com/daqing/financial/hrms/PermissionControllerApi.java @@ -1,7 +1,6 @@ package com.daqing.financial.hrms; import com.daqing.framework.domain.hrms.PermissionEntity; -import com.daqing.framework.domain.hrms.request.DeptAddRequest; import com.daqing.framework.model.response.ResponseResult; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; diff --git a/dq-financial-crms/pom.xml b/dq-financial-crms/pom.xml index f6f86562..54f97d16 100644 --- a/dq-financial-crms/pom.xml +++ b/dq-financial-crms/pom.xml @@ -3,16 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.1.8.RELEASE - + financial + com.daqing.financial + 0.0.1-SNAPSHOT - com.daqing.financial dq-financial-crms 0.0.1-SNAPSHOT - dq-financial-crms - 大庆智慧金融平台-客户资源管理服务 + 客户资源管理服务crms 1.8 @@ -82,25 +79,16 @@ - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - - - + + + + + + + + + + + diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/DqFinancialCrmsApplication.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/DqFinancialCrmsApplication.java index 73319226..1cae2ee9 100644 --- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/DqFinancialCrmsApplication.java +++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/DqFinancialCrmsApplication.java @@ -1,18 +1,15 @@ package com.daqing.financial.crms; -import com.daqing.financial.hrauth.config.SecurityConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.context.annotation.ComponentScan; -import org.springframework.context.annotation.Import; @EnableFeignClients(basePackages = "com.daqing.financial.crms.feign") @EnableDiscoveryClient @SpringBootApplication -@ComponentScan(basePackages = "com.daqing") -@Import({SecurityConfig.class}) +@ComponentScan("com.daqing") public class DqFinancialCrmsApplication { public static void main(String[] args) { diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java index 243e1e84..6001a7e0 100644 --- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java +++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/config/IPageConfig.java @@ -1,4 +1,3 @@ -/* package com.daqing.financial.crms.config; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; @@ -12,4 +11,3 @@ public class IPageConfig { return new PaginationInterceptor(); } } -*/ diff --git a/dq-financial-crms/src/main/resources/bootstrap.properties b/dq-financial-crms/src/main/resources/bootstrap.properties index da7762ac..cea72869 100644 --- a/dq-financial-crms/src/main/resources/bootstrap.properties +++ b/dq-financial-crms/src/main/resources/bootstrap.properties @@ -33,43 +33,12 @@ ribbon.ReadTimeout: 120000 #请求连接的超时时间 ribbon.ConnectTimeout: 120000 -# 正式环境(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 - - # 正式环境(prod) #服务名称 spring.application.name=dq-financial-crms -#配置中心地址 -spring.cloud.nacos.config.server-addr=127.0.0.1:8848 -spring.cloud.nacos.config.namespace=1912aa66-6e18-4680-8943-5b8fae71414c +##配置中心地址 +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 @@ -86,10 +55,41 @@ spring.cloud.nacos.config.ext-config[2].refresh=true spring.redis.host=127.0.0.1 spring.redis.port=6379 -spring.redis.password= +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 \ No newline at end of file +spring.redis.jedis.pool.min-idle=0 + + +# 测试环境(prod) +#服务名称 +#spring.application.name=dq-financial-crms +##配置中心地址 +#spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +#spring.cloud.nacos.config.namespace=1912aa66-6e18-4680-8943-5b8fae71414c +##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= +#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 \ No newline at end of file diff --git a/dq-financial-guarantee/pom.xml b/dq-financial-guarantee/pom.xml index 7c224442..f1b79431 100644 --- a/dq-financial-guarantee/pom.xml +++ b/dq-financial-guarantee/pom.xml @@ -3,16 +3,15 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.1.8.RELEASE - + financial + com.daqing.financial + 0.0.1-SNAPSHOT + com.daqing.financial.guarantee dq-financial-guarantee 0.0.1-SNAPSHOT - dq-financial-guarantee - 大庆智慧金融平台-担保业务管理系统 + 担保业务管理系统guarantee 1.8 @@ -64,12 +63,6 @@ 1.8.2 - - org.freemarker freemarker @@ -95,13 +88,4 @@ - - - - org.springframework.boot - spring-boot-maven-plugin - - - - diff --git a/dq-financial-guarantee/src/main/resources/bootstrap.properties b/dq-financial-guarantee/src/main/resources/bootstrap.properties index 6fbec6b0..9d1d841d 100644 --- a/dq-financial-guarantee/src/main/resources/bootstrap.properties +++ b/dq-financial-guarantee/src/main/resources/bootstrap.properties @@ -41,40 +41,10 @@ spring.servlet.multipart.max-file-size=10MB #正式环境(prod) #服务名称 -#spring.application.name=dq-financial-guarantee -##配置中心地址 -#spring.cloud.nacos.config.server-addr=120.78.127.12:8848 -#spring.cloud.nacos.config.namespace=502bfc93-6e2f-44aa-93ad-f074664c6826 -# -#spring.cloud.nacos.config.ext-config[0].data-id=dq-financial-guarantee.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=datasource.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=mybatis.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 - - -#测试服务器环境(prod) -#服务名称 spring.application.name=dq-financial-guarantee #配置中心地址 -spring.cloud.nacos.config.server-addr=127.0.0.1:8848 -spring.cloud.nacos.config.namespace=66fce8ff-5ca8-412d-bc06-b8730fa65869 +spring.cloud.nacos.config.server-addr=120.78.127.12:8848 +spring.cloud.nacos.config.namespace=502bfc93-6e2f-44aa-93ad-f074664c6826 spring.cloud.nacos.config.ext-config[0].data-id=dq-financial-guarantee.yml spring.cloud.nacos.config.ext-config[0].group=prod @@ -90,10 +60,40 @@ spring.cloud.nacos.config.ext-config[2].refresh=true spring.redis.host=127.0.0.1 spring.redis.port=6379 -spring.redis.password= +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-financial-guarantee +##配置中心地址 +#spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +#spring.cloud.nacos.config.namespace=66fce8ff-5ca8-412d-bc06-b8730fa65869 +# +#spring.cloud.nacos.config.ext-config[0].data-id=dq-financial-guarantee.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=datasource.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=mybatis.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= +#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 diff --git a/dq-financial-hrms-auth/pom.xml b/dq-financial-hrms-auth/pom.xml index 4ca343e4..2141a878 100644 --- a/dq-financial-hrms-auth/pom.xml +++ b/dq-financial-hrms-auth/pom.xml @@ -3,16 +3,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.springframework.boot - spring-boot-starter-parent - 2.1.8.RELEASE - + financial + com.daqing.financial + 0.0.1-SNAPSHOT - com.daqing.financial dq-financial-hrms-auth 0.0.1-SNAPSHOT - dq-financial-hrms-auth - 大庆智慧金融平台-人资用户认证服务 + 人资用户认证服务hrms-auth 1.8 diff --git a/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/config/IPageConfig.java b/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/config/IPageConfig.java index c8772bed..22645e30 100644 --- a/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/config/IPageConfig.java +++ b/dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/config/IPageConfig.java @@ -4,10 +4,10 @@ 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(); - } -} +// @Configuration +// public class IPageConfig { +// @Bean +// public PaginationInterceptor paginationInterceptor() { +// return new PaginationInterceptor(); +// } +// } diff --git a/dq-financial-hrms-auth/src/main/resources/bootstrap.properties b/dq-financial-hrms-auth/src/main/resources/bootstrap.properties index c13b1dd2..e8c43ed5 100644 --- a/dq-financial-hrms-auth/src/main/resources/bootstrap.properties +++ b/dq-financial-hrms-auth/src/main/resources/bootstrap.properties @@ -28,40 +28,11 @@ #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 - #正式环境(prod) spring.application.name=dq-financial-hrms-auth -spring.cloud.nacos.config.server-addr=127.0.0.1:8848 -spring.cloud.nacos.config.namespace=d4e087eb-2a9b-4ef1-9f22-76269a30d081 +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 @@ -78,10 +49,39 @@ spring.cloud.nacos.config.ext-config[2].refresh=true spring.redis.host=127.0.0.1 spring.redis.port=6379 -spring.redis.password= +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 \ No newline at end of file +spring.redis.jedis.pool.min-idle=0 + +#测试环境(prod) +#spring.application.name=dq-financial-hrms-auth +# +#spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +#spring.cloud.nacos.config.namespace=d4e087eb-2a9b-4ef1-9f22-76269a30d081 +##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= +#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 \ No newline at end of file diff --git a/dq-financial-hrms/pom.xml b/dq-financial-hrms/pom.xml index 050c3081..5b50f8e2 100644 --- a/dq-financial-hrms/pom.xml +++ b/dq-financial-hrms/pom.xml @@ -11,8 +11,7 @@ com.daqing.financial dq-financial-hrms 0.0.1-SNAPSHOT - dq-financial-hrms - 大庆智慧金融平台-人力资源管理服务 + 人力资源管理服务hrms 1.8 @@ -39,12 +38,12 @@ ooxml-schemas 1.0 - + - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - 1.8 - 1.8 - - - - + 微服务公共的依赖common + + financial + com.daqing.financial + 0.0.1-SNAPSHOT + @@ -118,13 +101,6 @@ spring-cloud-starter-alibaba-nacos-config - - - com.alibaba @@ -166,4 +142,16 @@ + + + + + org.springframework.boot + spring-boot-maven-plugin + + true + + + + \ No newline at end of file diff --git a/dq-framework-model/pom.xml b/dq-framework-model/pom.xml index ab582637..7067609d 100644 --- a/dq-framework-model/pom.xml +++ b/dq-framework-model/pom.xml @@ -6,9 +6,14 @@ com.daqing.framework dq-framework-model - 1.0-SNAPSHOT - 统一管理项目涉及到的实体类 + + financial + com.daqing.financial + 0.0.1-SNAPSHOT + + + 统一管理实体类model @@ -22,4 +27,16 @@ 0.0.1-SNAPSHOT + + + + + org.springframework.boot + spring-boot-maven-plugin + + true + + + + \ No newline at end of file diff --git a/dq-framework-utils/pom.xml b/dq-framework-utils/pom.xml index 61db1364..06949335 100644 --- a/dq-framework-utils/pom.xml +++ b/dq-framework-utils/pom.xml @@ -11,30 +11,8 @@ com.daqing.framework dq-framework-utils + 系统通用的工具类utils - 系统通用的工具类 - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - 1.8 - 1.8 - - - - - @@ -75,4 +53,16 @@ compile + + + + + org.springframework.boot + spring-boot-maven-plugin + + true + + + + \ No newline at end of file diff --git a/dq-govern-gateway/pom.xml b/dq-govern-gateway/pom.xml index f6b16892..f0137c74 100644 --- a/dq-govern-gateway/pom.xml +++ b/dq-govern-gateway/pom.xml @@ -11,8 +11,7 @@ com.daqing.financial dq-govern-gateway 0.0.1-SNAPSHOT - dq-govern-gateway - 大庆智慧金融平台-网关服务 + 网关服务gateway 1.8 @@ -26,37 +25,11 @@ dq-framework-common 1.0-SNAPSHOT + org.springframework.cloud spring-cloud-starter-gateway - - - - diff --git a/dq-govern-gateway/src/main/resources/bootstrap.properties b/dq-govern-gateway/src/main/resources/bootstrap.properties index e36fc0db..dcfd86f6 100644 --- a/dq-govern-gateway/src/main/resources/bootstrap.properties +++ b/dq-govern-gateway/src/main/resources/bootstrap.properties @@ -20,34 +20,10 @@ # 正式环境(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.servlet.multipart.max-file-size=10MB -#spring.servlet.multipart.max-request-size=10MB - -# 测试环境(prod) -#服务名称 spring.application.name=dq-govern-gateway #配置中心地址 -spring.cloud.nacos.config.server-addr=127.0.0.1:8848 -spring.cloud.nacos.config.namespace=8a913b60-2335-4657-9048-7392c8d0899f +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 @@ -55,7 +31,7 @@ spring.cloud.nacos.config.ext-config[0].refresh=true spring.redis.host=127.0.0.1 spring.redis.port=6379 -spring.redis.password= +spring.redis.password=dq123456 spring.redis.database=0 spring.redis.timeout=30000 spring.redis.jedis.pool.max-active=8 @@ -64,4 +40,28 @@ 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 \ No newline at end of file +spring.servlet.multipart.max-request-size=10MB + +# 测试环境(prod) +#服务名称 +#spring.application.name=dq-govern-gateway +##配置中心地址 +#spring.cloud.nacos.config.server-addr=127.0.0.1:8848 +#spring.cloud.nacos.config.namespace=8a913b60-2335-4657-9048-7392c8d0899f +# +#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= +#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 \ No newline at end of file diff --git a/financial.ipr b/financial.ipr new file mode 100644 index 00000000..08ee6aba --- /dev/null +++ b/financial.ipr @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index a1662b25..4ea03339 100644 --- a/pom.xml +++ b/pom.xml @@ -1,14 +1,27 @@ + + + org.springframework.boot + spring-boot-starter-parent + 2.1.8.RELEASE + + + 4.0.0 com.daqing.financial financial 0.0.1-SNAPSHOT - financial - 聚合服务 + 大庆智慧金融平台 pom + + + 1.8 + UTF-8 + + dq-framework-common dq-framework-model @@ -17,8 +30,35 @@ dq-financial-hrms dq-financial-hrms-auth dq-financial-crms - dq-govern-gateway - dq-financial-guarantee + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + +