Browse Source

1.gov—mine和gov-access微服务错误修复

master
wxz 5 years ago
parent
commit
4e4c0700bf
  1. 6
      epmet-module/gov-access/gov-access-server/pom.xml
  2. 25
      epmet-module/gov-mine/gov-mine-client/pom.xml
  3. 11
      epmet-module/gov-mine/gov-mine-server/pom.xml
  4. 13
      epmet-module/gov-mine/gov-mine-server/src/main/java/com/epmet/GovMineApplication.java
  5. 24
      epmet-module/gov-mine/gov-mine-server/src/main/java/com/epmet/config/ModuleConfigImpl.java

6
epmet-module/gov-access/gov-access-server/pom.xml

@ -93,7 +93,7 @@
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
<properties> <properties>
<server.port>8097</server.port> <server.port>8099</server.port>
<spring.profiles.active>dev</spring.profiles.active> <spring.profiles.active>dev</spring.profiles.active>
<!-- 数据库配置--> <!-- 数据库配置-->
@ -123,7 +123,7 @@
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation>--> </activation>-->
<properties> <properties>
<server.port>8093</server.port> <server.port>8099</server.port>
<spring.profiles.active>dev</spring.profiles.active> <spring.profiles.active>dev</spring.profiles.active>
<!-- 数据库配置--> <!-- 数据库配置-->
@ -153,7 +153,7 @@
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation>--> </activation>-->
<properties> <properties>
<server.port>8093</server.port> <server.port>8099</server.port>
<spring.profiles.active>test</spring.profiles.active> <spring.profiles.active>test</spring.profiles.active>
<!-- 数据库配置--> <!-- 数据库配置-->

25
epmet-module/gov-mine/gov-mine-client/pom.xml

@ -2,16 +2,35 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<version>0.3.0</version>
<parent> <parent>
<artifactId>epmet-module</artifactId>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>gov-mine</artifactId>
<version>2.0.0</version> <version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>gov-mine-client</artifactId> <artifactId>gov-mine-client</artifactId>
<version>0.3.0</version>
<dependencies>
<dependency>
<groupId>com.epmet</groupId>
<artifactId>epmet-commons-tools</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
</build>
</project> </project>

11
epmet-module/gov-mine/gov-mine-server/pom.xml

@ -2,26 +2,25 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<version>0.3.0</version>
<parent> <parent>
<artifactId>epmet-module</artifactId>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>gov-mine</artifactId>
<version>2.0.0</version> <version>2.0.0</version>
<relativePath>../../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>gov-mine-server</artifactId> <artifactId>gov-mine-server</artifactId>
<version>0.3.0</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>epmet-commons-tools</artifactId> <artifactId>gov-mine-client</artifactId>
<version>2.0.0</version> <version>0.3.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>epmet-commons-mybatis</artifactId> <artifactId>epmet-commons-tools</artifactId>
<version>2.0.0</version> <version>2.0.0</version>
</dependency> </dependency>
<dependency> <dependency>

13
epmet-module/gov-mine/gov-mine-server/src/main/java/com/epmet/GovMineApplication.java

@ -0,0 +1,13 @@
package com.epmet;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class GovMineApplication {
public static void main(String[] args) {
SpringApplication.run(GovMineApplication.class, args);
}
}

24
epmet-module/gov-mine/gov-mine-server/src/main/java/com/epmet/config/ModuleConfigImpl.java

@ -0,0 +1,24 @@
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* <p>
* https://www.renren.io
* <p>
* 版权所有侵权必究
*/
package com.epmet.config;
import com.epmet.commons.tools.config.ModuleConfig;
import org.springframework.stereotype.Service;
/**
* @author Mark sunlightcs@gmail.com
* @since 1.0.0
*/
@Service
public class ModuleConfigImpl implements ModuleConfig {
@Override
public String getName() {
return "govmine";
}
}
Loading…
Cancel
Save