|
|
|
<?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>
|
|
|
|
<version>0.3.45</version>
|
|
|
|
<parent>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-cloud</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>epmet-auth</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<jjwt.version>0.10.4</jjwt.version>
|
|
|
|
<kaptcha.version>0.0.9</kaptcha.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-admin-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-netflix-hystrix</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>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
<version>0.7.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.axet</groupId>
|
|
|
|
<artifactId>kaptcha</artifactId>
|
|
|
|
<version>${kaptcha.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 替换Feign原生httpclient -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-httpclient</artifactId>
|
|
|
|
<version>10.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-common-clienttoken</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.binarywang</groupId>
|
|
|
|
<artifactId>weixin-java-miniapp</artifactId>
|
|
|
|
<version>3.6.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-commons-tools-wx-ma</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-commons-tools-wx-mp</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-user-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-message-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>gov-org-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>oper-access-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.binarywang</groupId>
|
|
|
|
<artifactId>weixin-java-mp</artifactId>
|
|
|
|
<version>3.6.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-third-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>8081</server.port>
|
|
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
|
|
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.host>192.168.1.130</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>123456</spring.redis.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>122.152.200.70:8848</nacos.server-addr>
|
|
|
|
<nacos.discovery.namespace>fcd6fc8f-ca3a-4b01-8026-2b05cdc5976b</nacos.discovery.namespace>
|
|
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
|
|
<nacos.config.group></nacos.config.group>
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
|
|
<nacos.ip/>
|
|
|
|
|
|
|
|
<!--公众号配置-->
|
|
|
|
<wx.mp.configs.appId>wxcb6ce2ed0c5ae54c</wx.mp.configs.appId>
|
|
|
|
<wx.mp.configs.secret>c7f74941ee97fa9b2e1065772d34c397</wx.mp.configs.secret>
|
|
|
|
<wx.mp.configs.token>12345678Yzm</wx.mp.configs.token>
|
|
|
|
<wx.mp.configs.aesKey>jiKrJoPQsUIP9ayAwmuJQeAVPBjFOh5D1JxFDd7ZSU3</wx.mp.configs.aesKey>
|
|
|
|
<!--居民端小程序配置-->
|
|
|
|
<resi.wx.ma.appId>wx07674c23af51b521</resi.wx.ma.appId>
|
|
|
|
<resi.wx.ma.secret>a2fd0d29b007cbbcf8c8dda8c693d99b</resi.wx.ma.secret>
|
|
|
|
<!--政府端小程序配置-->
|
|
|
|
<!--<gov.wx.ma.appId>wx3d1372029eb816a3</gov.wx.ma.appId>
|
|
|
|
<gov.wx.ma.secret>651f02d71ed3f123dfb584b8bf0f4d8b</gov.wx.ma.secret>-->
|
|
|
|
<gov.wx.ma.appId>wx2679392c4cc2af22</gov.wx.ma.appId>
|
|
|
|
<gov.wx.ma.secret>e5e72147737cfeb2b0f3a43624cadb3f</gov.wx.ma.secret>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>test</id>
|
|
|
|
<!--<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>-->
|
|
|
|
<properties>
|
|
|
|
<server.port>8081</server.port>
|
|
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
|
|
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.host>r-m5eoz5b6tkx09y6bpz.redis.rds.aliyuncs.com</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>EpmEtrEdIs!q@w</spring.redis.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>192.168.10.150:8848</nacos.server-addr>
|
|
|
|
<nacos.discovery.namespace>67e3c350-533e-4d7c-9f8f-faf1b4aa82ae</nacos.discovery.namespace>
|
|
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
|
|
<nacos.config.group></nacos.config.group>
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
|
|
<nacos.ip/>
|
|
|
|
|
|
|
|
<!--公众号配置-->
|
|
|
|
<wx.mp.configs.appId>wxcb6ce2ed0c5ae54c</wx.mp.configs.appId>
|
|
|
|
<wx.mp.configs.secret>c7f74941ee97fa9b2e1065772d34c397</wx.mp.configs.secret>
|
|
|
|
<wx.mp.configs.token>12345678Yzm</wx.mp.configs.token>
|
|
|
|
<wx.mp.configs.aesKey>jiKrJoPQsUIP9ayAwmuJQeAVPBjFOh5D1JxFDd7ZSU3</wx.mp.configs.aesKey>
|
|
|
|
<!--居民端小程序配置-->
|
|
|
|
<resi.wx.ma.appId>wx07674c23af51b521</resi.wx.ma.appId>
|
|
|
|
<resi.wx.ma.secret>a2fd0d29b007cbbcf8c8dda8c693d99b</resi.wx.ma.secret>
|
|
|
|
<!--政府端小程序配置-->
|
|
|
|
<gov.wx.ma.appId>wx3d1372029eb816a3</gov.wx.ma.appId>
|
|
|
|
<gov.wx.ma.secret>651f02d71ed3f123dfb584b8bf0f4d8b</gov.wx.ma.secret>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>prod</id>
|
|
|
|
<!--<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>-->
|
|
|
|
<properties>
|
|
|
|
<server.port>8081</server.port>
|
|
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
|
|
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.host>r-m5ez3n1j0qc3ykq2ut.redis.rds.aliyuncs.com</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>EpmEtclOUdrEdIs!Q2w</spring.redis.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>192.168.11.180:8848</nacos.server-addr>
|
|
|
|
<nacos.discovery.namespace>bd205d23-e696-47be-b995-916313f86e99</nacos.discovery.namespace>
|
|
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
|
|
<nacos.config.group></nacos.config.group>
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
|
|
<nacos.ip/>
|
|
|
|
|
|
|
|
<!--公众号配置-->
|
|
|
|
<wx.mp.configs.appId>wxcb6ce2ed0c5ae54c</wx.mp.configs.appId>
|
|
|
|
<wx.mp.configs.secret>c7f74941ee97fa9b2e1065772d34c397</wx.mp.configs.secret>
|
|
|
|
<wx.mp.configs.token>12345678Yzm</wx.mp.configs.token>
|
|
|
|
<wx.mp.configs.aesKey>jiKrJoPQsUIP9ayAwmuJQeAVPBjFOh5D1JxFDd7ZSU3</wx.mp.configs.aesKey>
|
|
|
|
<!--居民端小程序配置-->
|
|
|
|
<resi.wx.ma.appId>wx07674c23af51b521</resi.wx.ma.appId>
|
|
|
|
<resi.wx.ma.secret>a2fd0d29b007cbbcf8c8dda8c693d99b</resi.wx.ma.secret>
|
|
|
|
<!--政府端小程序配置-->
|
|
|
|
<gov.wx.ma.appId>wx3d1372029eb816a3</gov.wx.ma.appId>
|
|
|
|
<gov.wx.ma.secret>651f02d71ed3f123dfb584b8bf0f4d8b</gov.wx.ma.secret>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|