|
|
|
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-cloud-parent-yushan</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<relativePath>../epdc-cloud-parent-yushan</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>epdc-cloud-api</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>榆山党群e家微服务API聚合模块服务</description>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- nacos start -->
|
|
|
|
<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>-->
|
|
|
|
<!-- nacos end -->
|
|
|
|
|
|
|
|
<!-- 替换Feign原生httpclient -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- client start -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-cloud-custom-client</artifactId>
|
|
|
|
<version>${epdc-cloud-client.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-cloud-api-client</artifactId>
|
|
|
|
<version>${epdc-cloud-client.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- client end -->
|
|
|
|
|
|
|
|
<!-- commons start -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-commons-tools</artifactId>
|
|
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-commons-mybatis</artifactId>
|
|
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-common-clienttoken</artifactId>
|
|
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-commons-tools-wx-mp</artifactId>
|
|
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-commons-tools-wx-ma</artifactId>
|
|
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--版本控制-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-commons-api-version-control</artifactId>
|
|
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-cloud-property-client</artifactId>
|
|
|
|
<version>${epdc-cloud-commons.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- commons end -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esua.epdc.yushan</groupId>
|
|
|
|
<artifactId>epdc-commons-points-tools</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
</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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/application*.yml</include>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
<include>logback-spring.xml</include>
|
|
|
|
<include>registry.conf</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/application*.yml</exclude>
|
|
|
|
<exclude>**/*.properties</exclude>
|
|
|
|
<exclude>logback-spring.xml</exclude>
|
|
|
|
<exclude>registry.conf</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>dev</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
|
|
<docker.tag>dev</docker.tag>
|
|
|
|
|
|
|
|
<server.port>9040</server.port>
|
|
|
|
|
|
|
|
<spring.redis.index>8</spring.redis.index>
|
|
|
|
<spring.redis.host>r-m5eh5czgb1nucti6azpd.redis.rds.aliyuncs.com</spring.redis.host>
|
|
|
|
<spring.redis.port>10001</spring.redis.port>
|
|
|
|
<spring.redis.password>elink!888</spring.redis.password>
|
|
|
|
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
<![CDATA[jdbc:mysql://rm-m5eguiv2827bdye798o.mysql.rds.aliyuncs.com:10001/yushan_esua_epdc_api?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
|
|
</spring.datasource.druid.url>
|
|
|
|
<spring.datasource.druid.username>yushan_epdc_test</spring.datasource.druid.username>
|
|
|
|
<spring.datasource.druid.password>elink-epdc@yushan</spring.datasource.druid.password>
|
|
|
|
|
|
|
|
<nacos.register-enabled>false</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>115.29.142.202:8848</nacos.server-addr>
|
|
|
|
<nacos.ip></nacos.ip>
|
|
|
|
<nacos.namespace>8831513c-2f72-42e8-899f-eb6c2c5ae110</nacos.namespace>
|
|
|
|
|
|
|
|
<!--公众号配置-->
|
|
|
|
<wx.mp.configs.appId>wx3ef8f2cd12a19fcb</wx.mp.configs.appId>
|
|
|
|
<wx.mp.configs.secret>948aa2f21dbaa3943288ea5b119ac6f2</wx.mp.configs.secret>
|
|
|
|
<wx.mp.configs.token>111</wx.mp.configs.token>
|
|
|
|
<wx.mp.configs.aesKey>111</wx.mp.configs.aesKey>
|
|
|
|
<!--小程序配置-->
|
|
|
|
<wx.ma.appId>wx50ebeb95943868cd</wx.ma.appId>
|
|
|
|
<wx.ma.secret>c2719c261fe87b3e2d572552d2c8275d</wx.ma.secret>
|
|
|
|
<!--工作端小程序-->
|
|
|
|
<work.wx.ma.appId>wx6d45fd2f4dfe7ce4</work.wx.ma.appId>
|
|
|
|
<work.wx.ma.secret>54a30a48b100bbad20d7823cd9e1fb17</work.wx.ma.secret>
|
|
|
|
<!--数据分析端小程序-->
|
|
|
|
<analysis.wx.ma.appId>wxb61fe7aced26ba7b</analysis.wx.ma.appId>
|
|
|
|
<analysis.wx.ma.secret>373c305e69b78f4d575d355fddb05146</analysis.wx.ma.secret>
|
|
|
|
|
|
|
|
<rocketmq.name.server>47.104.85.99:9876</rocketmq.name.server>
|
|
|
|
<rocketmq.producer.group>yushan-pointsGroup</rocketmq.producer.group>
|
|
|
|
<rocketmq.consumer.points.group>yushan-pointsGroup</rocketmq.consumer.points.group>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>test</id>
|
|
|
|
<properties>
|
|
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
|
|
<docker.tag>test</docker.tag>
|
|
|
|
|
|
|
|
<server.port>10824</server.port>
|
|
|
|
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>8</spring.redis.index>
|
|
|
|
<spring.redis.host>r-v0l694084401a044pd.redis.rds.aliyuncs.com</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>CJ!redis@elink</spring.redis.password>
|
|
|
|
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
<![CDATA[jdbc:mysql://rm-m5eguiv2827bdye798o.mysql.rds.aliyuncs.com:10001/yushan_esua_epdc_api?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
|
|
</spring.datasource.druid.url>
|
|
|
|
<spring.datasource.druid.username>yushan_epdc_test</spring.datasource.druid.username>
|
|
|
|
<spring.datasource.druid.password>elink-epdc@yushan</spring.datasource.druid.password>
|
|
|
|
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>47.104.92.53:8848</nacos.server-addr>
|
|
|
|
<nacos.ip>47.104.92.53</nacos.ip>
|
|
|
|
<nacos.namespace>33672684-31a6-4550-9586-7f0317b85196</nacos.namespace>
|
|
|
|
|
|
|
|
<!--公众号配置-->
|
|
|
|
<wx.mp.configs.appId>wx3ef8f2cd12a19fcb</wx.mp.configs.appId>
|
|
|
|
<wx.mp.configs.secret>948aa2f21dbaa3943288ea5b119ac6f2</wx.mp.configs.secret>
|
|
|
|
<wx.mp.configs.token>111</wx.mp.configs.token>
|
|
|
|
<wx.mp.configs.aesKey>111</wx.mp.configs.aesKey>
|
|
|
|
<!--党群e家小程序配置-->
|
|
|
|
<wx.ma.appId>wx50ebeb95943868cd</wx.ma.appId>
|
|
|
|
<wx.ma.secret>c2719c261fe87b3e2d572552d2c8275d</wx.ma.secret>
|
|
|
|
<!--工作端小程序-->
|
|
|
|
<work.wx.ma.appId>wx6d45fd2f4dfe7ce4</work.wx.ma.appId>
|
|
|
|
<work.wx.ma.secret>54a30a48b100bbad20d7823cd9e1fb17</work.wx.ma.secret>
|
|
|
|
<!--数据分析端小程序-->
|
|
|
|
<analysis.wx.ma.appId>wxb61fe7aced26ba7b</analysis.wx.ma.appId>
|
|
|
|
<analysis.wx.ma.secret>373c305e69b78f4d575d355fddb05146</analysis.wx.ma.secret>
|
|
|
|
|
|
|
|
<rocketmq.name.server>114.215.125.123:9876</rocketmq.name.server>
|
|
|
|
<rocketmq.producer.group>yushan-pointsGroup</rocketmq.producer.group>
|
|
|
|
<rocketmq.consumer.points.group>yushan-pointsGroup</rocketmq.consumer.points.group>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>prod</id>
|
|
|
|
<properties>
|
|
|
|
<server.port>9040</server.port>
|
|
|
|
|
|
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
|
|
<docker.tag>prod</docker.tag>
|
|
|
|
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.host>172.31.0.2</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>Elink833066</spring.redis.password>
|
|
|
|
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
<![CDATA[jdbc:mysql://172.31.0.4:3306/esua_epdc_api?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
|
|
</spring.datasource.druid.url>
|
|
|
|
<spring.datasource.druid.username>epdcyushan</spring.datasource.druid.username>
|
|
|
|
<spring.datasource.druid.password>elinkepdc@Yushan2020</spring.datasource.druid.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>172.31.0.2:8848</nacos.server-addr>
|
|
|
|
<nacos.ip></nacos.ip>
|
|
|
|
<nacos.namespace>47a8ed69-d219-4525-8174-532f2f7e0288</nacos.namespace>
|
|
|
|
|
|
|
|
<!--公众号配置-->
|
|
|
|
<wx.mp.configs.appId>wx3ef8f2cd12a19fcb</wx.mp.configs.appId>
|
|
|
|
<wx.mp.configs.secret>948aa2f21dbaa3943288ea5b119ac6f2</wx.mp.configs.secret>
|
|
|
|
<wx.mp.configs.token>111</wx.mp.configs.token>
|
|
|
|
<wx.mp.configs.aesKey>111</wx.mp.configs.aesKey>
|
|
|
|
<!--党群e家小程序配置-->
|
|
|
|
<wx.ma.appId>wx50ebeb95943868cd</wx.ma.appId>
|
|
|
|
<wx.ma.secret>c2719c261fe87b3e2d572552d2c8275d</wx.ma.secret>
|
|
|
|
<!--工作端小程序-->
|
|
|
|
<work.wx.ma.appId>wx6d45fd2f4dfe7ce4</work.wx.ma.appId>
|
|
|
|
<work.wx.ma.secret>54a30a48b100bbad20d7823cd9e1fb17</work.wx.ma.secret>
|
|
|
|
<!--数据分析端小程序-->
|
|
|
|
<analysis.wx.ma.appId>wxb61fe7aced26ba7b</analysis.wx.ma.appId>
|
|
|
|
<analysis.wx.ma.secret>373c305e69b78f4d575d355fddb05146</analysis.wx.ma.secret>
|
|
|
|
|
|
|
|
<rocketmq.name.server>172.31.0.2:9876;172.31.0.2:9876</rocketmq.name.server>
|
|
|
|
<rocketmq.producer.group>yushan-pointsGroup</rocketmq.producer.group>
|
|
|
|
<rocketmq.consumer.points.group>yushan-pointsGroup</rocketmq.consumer.points.group>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|