• 大小: 270KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-14
  • 语言: 其他
  • 标签: springcloud  

资源简介

springcloud相关搭建测试,使用eureka作为注册中心,通过feign进行服务访问。作为文章的附件

资源截图

代码片段和文件信息

package com.tdzh.api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name=“app-pay“)
public interface IPay{
    @RequestMapping(“/pay“)
    public String pay(@RequestParam(“id“)String id@RequestParam(“money“) double money);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-02-18 16:20  TDCloud\
     目录           0  2020-02-18 17:50  TDCloud\.idea\
     文件        1173  2020-02-18 16:21  TDCloud\.idea\compiler.xml
     文件         910  2020-02-18 16:21  TDCloud\.idea\encodings.xml
     文件         763  2020-02-18 16:21  TDCloud\.idea\misc.xml
     文件        8915  2020-02-18 11:26  TDCloud\.idea\uiDesigner.xml
     文件       11188  2020-02-18 17:50  TDCloud\.idea\workspace.xml
     文件          81  2020-02-18 10:57  TDCloud\TDCloud.iml
     目录           0  2020-02-18 13:35  TDCloud\api\
     目录           0  2020-02-18 11:45  TDCloud\api\api-pay\
     文件          81  2020-02-18 11:14  TDCloud\api\api-pay\api-pay.iml
     文件         493  2020-02-18 11:45  TDCloud\api\api-pay\pom.xml
     目录           0  2020-02-18 10:58  TDCloud\api\api-pay\src\
     目录           0  2020-02-18 10:58  TDCloud\api\api-pay\src\main\
     目录           0  2020-02-18 11:50  TDCloud\api\api-pay\src\main\java\
     目录           0  2020-02-18 11:50  TDCloud\api\api-pay\src\main\java\com\
     目录           0  2020-02-18 11:50  TDCloud\api\api-pay\src\main\java\com\tdzh\
     目录           0  2020-02-18 16:43  TDCloud\api\api-pay\src\main\java\com\tdzh\api\
     文件         382  2020-02-18 16:43  TDCloud\api\api-pay\src\main\java\com\tdzh\api\IPay.java
     目录           0  2020-02-18 17:50  TDCloud\api\api-pay\src\main\resources\
     目录           0  2020-02-18 10:58  TDCloud\api\api-pay\src\test\
     目录           0  2020-02-18 17:50  TDCloud\api\api-pay\src\test\java\
     目录           0  2020-02-18 11:45  TDCloud\api\api-pay\target\
     目录           0  2020-02-18 16:44  TDCloud\api\api-pay\target\classes\
     目录           0  2020-02-18 16:44  TDCloud\api\api-pay\target\classes\com\
     目录           0  2020-02-18 16:44  TDCloud\api\api-pay\target\classes\com\tdzh\
     目录           0  2020-02-18 16:44  TDCloud\api\api-pay\target\classes\com\tdzh\api\
     文件         536  2020-02-18 16:44  TDCloud\api\api-pay\target\classes\com\tdzh\api\IPay.class
     目录           0  2020-02-18 11:45  TDCloud\api\api-pay\target\generated-sources\
     目录           0  2020-02-18 17:50  TDCloud\api\api-pay\target\generated-sources\annotations\
     目录           0  2020-02-18 14:15  TDCloud\api\api-user\
............此处省略224个文件信息

评论

共有 条评论