소스 검색

更新!

TRX 1 년 전
부모
커밋
eb5aff52b5
1개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. 20 0
      SecretKeyClient/src/main/java/com/zhongshu/secretKey/client/service/TestInfoFeignService.java

+ 20 - 0
SecretKeyClient/src/main/java/com/zhongshu/secretKey/client/service/TestInfoFeignService.java

@@ -0,0 +1,20 @@
+package com.zhongshu.secretKey.client.service;
+
+import com.github.microservice.auth.client.content.ResultContent;
+import com.zhongshu.opengateway.client.model.param.AddApiParam;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.http.MediaType;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+
+@FeignClient("secretkeyserver/manager/test")
+public interface TestInfoFeignService {
+
+    /**
+     *
+     */
+    @RequestMapping(value = "saveInfo", method = RequestMethod.POST, consumes = {MediaType.ALL_VALUE})
+    ResultContent saveInfo(@RequestBody AddApiParam param);
+
+}