后端开发
fegin 标签描述

一、初衷 最近所在的项目组,在项目后期,但是为了第三方接入方便,需要对API进行封装,形成第三方应用接入的sdk,此为背景。 二、因为发现springcloudfegin在http请求中比httpclinetresttemplate这个组件调用更方便,同时结构清晰,所以果断使用fegin,在项目中使用了openfegin,在此记录一下。 三、具体实现 1.maven 在pom文件中共引入 <dependency> <groupId>io.github.openfeign</groupId> <artifactId>feign-...

  t7NbGH77biJo   2023年11月02日   64   0   0 HTTPfeginidespring