You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
412 lines
19 KiB
412 lines
19 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<version>0.0.21</version>
|
|
|
|
<parent>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-ext</artifactId>
|
|
<version>2.0.0</version>
|
|
</parent>
|
|
|
|
<artifactId>epmet-ext-server</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<aliyun.core.version>3.2.2</aliyun.core.version>
|
|
<aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
|
|
<qcloud.qcloudsms.version>1.0.5</qcloud.qcloudsms.version>
|
|
<freemarker.version>2.3.28</freemarker.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.tongweb.springboot</groupId>
|
|
<artifactId>tongweb-spring-boot-starter-2.x</artifactId>
|
|
<version>${tongWeb.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-commons-openapi</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>common-service-client</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-commons-security</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-ext-client</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<!--<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-commons-extapp-auth</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>-->
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-commons-tools</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-user-client</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>gov-org-client</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>epmet-commons-mybatis</artifactId>
|
|
<version>2.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
<version>${aliyun.core.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
<version>${aliyun.dysmsapi.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.qcloudsms</groupId>
|
|
<artifactId>qcloudsms</artifactId>
|
|
<version>${qcloud.qcloudsms.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>${freemarker.version}</version>
|
|
</dependency>
|
|
<!-- 替换Feign原生httpclient -->
|
|
<dependency>
|
|
<groupId>io.github.openfeign</groupId>
|
|
<artifactId>feign-httpclient</artifactId>
|
|
<version>10.3.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<!--<version>5.1.1</version>-->
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.junit.vintage</groupId>
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.dom4j</groupId>
|
|
<artifactId>dom4j</artifactId>
|
|
<version>2.1.3</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.binarywang</groupId>
|
|
<artifactId>weixin-java-common</artifactId>
|
|
<version>3.6.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>5.1.12.RELEASE</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>oper-crm-client</artifactId>
|
|
<version>2.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.epmet</groupId>
|
|
<artifactId>data-report-client</artifactId>
|
|
<version>2.0.0</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>dev</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<server.port>8113</server.port>
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
|
|
<!-- 数据库配置-->
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:dm://192.168.1.144:5236?schema=epmet_third]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>epmet12345</spring.datasource.druid.password>
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>192.168.1.144</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>EpmEt_UsEr@sAAs</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>192.168.1.144:8848</nacos.server-addr>
|
|
<nacos.discovery.namespace>9ef9405c-7d52-4f73-bea1-030a0b334d3f</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
|
|
<!--钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd
|
|
</dingTalk.robot.secret>
|
|
|
|
<!--线程池-->
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
<thread.threadPool.thread-name-prefix>epmet-ext</thread.threadPool.thread-name-prefix>
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>local</id>
|
|
<!--<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>-->
|
|
<properties>
|
|
<server.port>8113</server.port>
|
|
<spring.profiles.active>local</spring.profiles.active>
|
|
|
|
<!-- 数据库配置-->
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:dm://172.16.20.13:5236?schema=epmet_third]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>Zhsq@Szrz%2023_</spring.datasource.druid.password>
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>172.16.3.87</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>rEdIs@yAntAI_666</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>false</nacos.register-enabled>
|
|
<nacos.server-addr>172.16.3.87:8848</nacos.server-addr>
|
|
<nacos.discovery.namespace>bf153d2b-7aa5-4b6e-ba7b-4977e54eb126</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>false</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
|
|
<!--钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd
|
|
</dingTalk.robot.secret>
|
|
|
|
<!--线程池-->
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
<thread.threadPool.thread-name-prefix>epmet-ext</thread.threadPool.thread-name-prefix>
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>test</id>
|
|
<!--<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>-->
|
|
<properties>
|
|
<server.port>8113</server.port>
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
|
|
<!-- 数据库配置-->
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:dm://172.16.20.13:5236?schema=epmet_third]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>epmet12345</spring.datasource.druid.password>
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.host>172.16.3.87</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<spring.redis.password>rEdIs@yAntAI_666</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>172.16.3.87:8848</nacos.server-addr>
|
|
<nacos.discovery.namespace>bf153d2b-7aa5-4b6e-ba7b-4977e54eb126</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
|
|
<!--测试钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd
|
|
</dingTalk.robot.secret>
|
|
|
|
<!--线程池-->
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
<thread.threadPool.thread-name-prefix>epmet-ext</thread.threadPool.thread-name-prefix>
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>prod</id>
|
|
<!--<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>-->
|
|
<properties>
|
|
<server.port>8113</server.port>
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
|
|
<!-- 数据库配置-->
|
|
<spring.datasource.druid.url>
|
|
<![CDATA[jdbc:mysql://10.1.26.45:3306/epmet_third]]>
|
|
</spring.datasource.druid.url>
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username>
|
|
<spring.datasource.druid.password>Zhsq@Szrz%2023_</spring.datasource.druid.password>
|
|
<!-- redis配置 -->
|
|
<spring.redis.index>0</spring.redis.index>
|
|
<spring.redis.cluster.nodes>
|
|
10.1.26.45:6379
|
|
</spring.redis.cluster.nodes>
|
|
<spring.redis.host>10.1.26.45</spring.redis.host>
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
<!--<spring.redis.mode>cluster</spring.redis.mode>-->
|
|
<spring.redis.mode>single</spring.redis.mode>
|
|
<spring.redis.cluster.max-redirects>3</spring.redis.cluster.max-redirects>
|
|
<spring.redis.password>rEdIs@yAntAI_666</spring.redis.password>
|
|
<!-- nacos -->
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
<nacos.server-addr>10.1.26.46</nacos.server-addr>
|
|
<nacos.discovery.namespace>f12ffa83-730f-4814-b2ac-89e9132fbb7c</nacos.discovery.namespace>
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
<nacos.config.group></nacos.config.group>
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
<nacos.ip/>
|
|
<!--是否开启服务列表变更监听-->
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
|
|
<!--生产钉钉 机器人地址-->
|
|
<dingTalk.robot.webHook>
|
|
https://oapi.dingtalk.com/robot/send?access_token=c96c904b375f8b63eb10036db43a18628365dd87aa8669a9052cf95c911b4df0
|
|
</dingTalk.robot.webHook>
|
|
<dingTalk.robot.secret>SEC134641aac79c2514b74cbb87028d706c34d071747f60a279a34bf8d2ad75be8e
|
|
</dingTalk.robot.secret>
|
|
|
|
<!--线程池-->
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
<thread.threadPool.thread-name-prefix>epmet-ext</thread.threadPool.thread-name-prefix>
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|
|
|