Merge branch 'master' of http://git.estsh.com/i3-IMPP/i3plus-core
commit
239c9e83d7
@ -1,52 +0,0 @@
|
||||
<?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">
|
||||
<parent>
|
||||
<artifactId>i3plus-core</artifactId>
|
||||
<groupId>i3plus.core</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-core-icloud</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- impp framework
|
||||
<dependency>
|
||||
<groupId>impp.framework</groupId>
|
||||
<artifactId>impp-framework-boot</artifactId>
|
||||
</dependency> -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!--云依赖-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-dependencies</artifactId>
|
||||
<version>${spring-cloud.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</dependencyManagement>
|
||||
</project>
|
@ -1,32 +0,0 @@
|
||||
package cn.estsh.i3plus.core.api.controller;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseResultBean;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
//CommonEnumUtil
|
||||
@FeignClient(name="core",path="/cloud")
|
||||
public interface DemoCloudInterface {
|
||||
|
||||
@RequestMapping(value="/test-get",method= RequestMethod.GET)
|
||||
@ApiOperation(value="测试分布式调用GET",notes = "测试分布式调用GET")
|
||||
BaseResultBean testGet(@RequestParam("test") String test);
|
||||
|
||||
@RequestMapping(value="/test-post",method= RequestMethod.POST)
|
||||
@ApiOperation(value="测试分布式调用POST",notes = "测试分布式调用POST")
|
||||
BaseResultBean testPost(@RequestParam("test") String test);
|
||||
|
||||
|
||||
@RequestMapping(value="/test-put",method= RequestMethod.PUT)
|
||||
@ApiOperation(value="测试分布式调用PUT",notes = "测试分布式调用PUT")
|
||||
BaseResultBean testPut(@RequestParam("test") String test);
|
||||
|
||||
|
||||
@RequestMapping(value="/test-delete",method= RequestMethod.DELETE)
|
||||
@ApiOperation(value="测试分布式调用DELETE",notes = "测试分布式调用DELETE")
|
||||
BaseResultBean testDelete(@RequestParam("test") String test);
|
||||
}
|
@ -1 +0,0 @@
|
||||
ribbon.eureka.enabled=true
|
Loading…
Reference in New Issue