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.
		
		
		
		
		
			
		
			
				
					
					
						
							248 lines
						
					
					
						
							10 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							248 lines
						
					
					
						
							10 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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
|     <modelVersion>4.0.0</modelVersion> | |
| 
 | |
|     <parent> | |
|         <artifactId>epdc-websocket</artifactId> | |
|         <groupId>com.esua.epdc.shibei</groupId> | |
|         <version>1.0.0</version> | |
|     </parent> | |
| 
 | |
|     <artifactId>epdc-websocket-server</artifactId> | |
|     <packaging>jar</packaging> | |
| 
 | |
|     <dependencies> | |
|         <dependency> | |
|             <groupId>com.esua.epdc.shibei</groupId> | |
|             <artifactId>epdc-websocket-client</artifactId> | |
|             <version>${project.version}</version> | |
|         </dependency> | |
|         <dependency> | |
|             <groupId>com.esua.epdc.shibei</groupId> | |
|             <artifactId>epdc-user-client</artifactId> | |
|             <version>${project.version}</version> | |
|         </dependency> | |
| 
 | |
|         <dependency> | |
|             <groupId>com.esua.epdc.shibei</groupId> | |
|             <artifactId>epdc-commons-tools</artifactId> | |
|             <version>${project.version}</version> | |
|         </dependency> | |
| 
 | |
|         <!-- websocket --> | |
|         <dependency> | |
|             <groupId>org.springframework.boot</groupId> | |
|             <artifactId>spring-boot-starter-websocket</artifactId> | |
|         </dependency> | |
| 
 | |
|         <dependency> | |
|             <groupId>com.fasterxml.jackson.core</groupId> | |
|             <artifactId>jackson-databind</artifactId> | |
|             <version>2.10.0</version> | |
|         </dependency> | |
| 
 | |
|         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core --> | |
|         <dependency> | |
|             <groupId>com.fasterxml.jackson.core</groupId> | |
|             <artifactId>jackson-core</artifactId> | |
|             <version>2.10.0</version> | |
|         </dependency> | |
| 
 | |
|         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations --> | |
|         <dependency> | |
|             <groupId>com.fasterxml.jackson.core</groupId> | |
|             <artifactId>jackson-annotations</artifactId> | |
|             <version>2.10.0</version> | |
|         </dependency> | |
| 
 | |
|         <!-- nacos start --> | |
|         <dependency> | |
|             <groupId>com.alibaba.cloud</groupId> | |
|             <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> | |
|         </dependency> | |
|         <!-- nacos end --> | |
| 
 | |
|         <!-- 替换Feign原生httpclient --> | |
|         <dependency> | |
|             <groupId>io.github.openfeign</groupId> | |
|             <artifactId>feign-httpclient</artifactId> | |
|             <version>10.3.0</version> | |
|         </dependency> | |
| 
 | |
|         <dependency> | |
|             <groupId>io.jsonwebtoken</groupId> | |
|             <artifactId>jjwt</artifactId> | |
|             <version>0.7.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>9988</server.port> | |
| 
 | |
|                 <spring.redis.index>2</spring.redis.index> | |
|                 <spring.redis.host>47.104.224.45</spring.redis.host> | |
|                 <spring.redis.port>6379</spring.redis.port> | |
|                 <spring.redis.password>elink@888</spring.redis.password> | |
| 
 | |
|                 <spring.datasource.druid.url> | |
|                     <![CDATA[jdbc:mysql://118.190.232.100:3308/esua_epdc_api?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> | |
|                 </spring.datasource.druid.url> | |
|                 <spring.datasource.druid.username>epdc</spring.datasource.druid.username> | |
|                 <spring.datasource.druid.password>elink833066</spring.datasource.druid.password> | |
| 
 | |
|                 <nacos.register-enabled>false</nacos.register-enabled> | |
|                 <nacos.server-addr>47.104.224.45:8848</nacos.server-addr> | |
|                 <nacos.ip></nacos.ip> | |
|                 <nacos.namespace>a746dde3-7a13-4521-b986-7369b0b7c269</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>wxdd8530c5f4926766</wx.ma.appId> | |
|                 <wx.ma.secret>5bf4fb813145431b3493a10aa7e041e9</wx.ma.secret> | |
|             </properties> | |
|         </profile> | |
| 
 | |
|         <profile> | |
|             <id>test</id> | |
|             <properties> | |
|                 <spring.profiles.active>test</spring.profiles.active> | |
|                 <docker.tag>test</docker.tag> | |
| 
 | |
|                 <server.port>10016</server.port> | |
| 
 | |
|                 <spring.redis.index>2</spring.redis.index> | |
|                 <spring.redis.host>118.190.232.100</spring.redis.host> | |
|                 <spring.redis.port>9603</spring.redis.port> | |
|                 <spring.redis.password>epdc!redis@master1405</spring.redis.password> | |
| 
 | |
|                 <spring.datasource.druid.url> | |
|                     <![CDATA[jdbc:mysql://118.190.232.100:3308/esua_epdc_api?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> | |
|                 </spring.datasource.druid.url> | |
|                 <spring.datasource.druid.username>epdc</spring.datasource.druid.username> | |
|                 <spring.datasource.druid.password>elink833066</spring.datasource.druid.password> | |
| 
 | |
|                 <nacos.register-enabled>true</nacos.register-enabled> | |
|                 <nacos.server-addr>47.104.224.45:8848</nacos.server-addr> | |
|                 <nacos.ip>47.104.85.99</nacos.ip> | |
|                 <nacos.namespace>a746dde3-7a13-4521-b986-7369b0b7c269</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>wxdd8530c5f4926766</wx.ma.appId>--> | |
|                 <!--                <wx.ma.secret>5bf4fb813145431b3493a10aa7e041e9</wx.ma.secret>--> | |
| 
 | |
|                 <wx.ma.appId>wx5d3e97461d248397</wx.ma.appId> | |
|                 <wx.ma.secret>bfed51b731e53db9affb9e6131e7ae12</wx.ma.secret> | |
|             </properties> | |
|         </profile> | |
| 
 | |
|         <profile> | |
|             <id>prod</id> | |
|             <properties> | |
|                 <spring.profiles.active>prod</spring.profiles.active> | |
|                 <docker.tag>prod</docker.tag> | |
| 
 | |
|                 <server.port>9988</server.port> | |
| 
 | |
|                 <!-- redis配置 --> | |
|                 <spring.redis.index>0</spring.redis.index> | |
|                 <spring.redis.host>172.16.0.54</spring.redis.host> | |
|                 <spring.redis.port>6379</spring.redis.port> | |
|                 <spring.redis.password>Elink833066</spring.redis.password> | |
| 
 | |
|                 <spring.datasource.druid.url> | |
|                     <![CDATA[jdbc:mysql://rm-m5e8z9h4z06z60n8h.mysql.rds.aliyuncs.com:3306/esua_epdc_api?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> | |
|                 </spring.datasource.druid.url> | |
|                 <spring.datasource.druid.username>epdc</spring.datasource.druid.username> | |
|                 <spring.datasource.druid.password>Elink@833066</spring.datasource.druid.password> | |
|                 <!-- nacos --> | |
|                 <nacos.register-enabled>true</nacos.register-enabled> | |
|                 <nacos.server-addr>172.16.0.52:8848</nacos.server-addr> | |
|                 <nacos.ip></nacos.ip> | |
|                 <nacos.namespace></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>wxdd8530c5f4926766</wx.ma.appId> | |
|                 <wx.ma.secret>5bf4fb813145431b3493a10aa7e041e9</wx.ma.secret> | |
|                 <!--先锋市北小程序配置--> | |
|                 <!--                <wx.ma.appId>wx5d3e97461d248397</wx.ma.appId>--> | |
|                 <!--                <wx.ma.secret>bfed51b731e53db9affb9e6131e7ae12</wx.ma.secret>--> | |
|             </properties> | |
|         </profile> | |
|     </profiles> | |
| 
 | |
| </project>
 | |
| 
 |