| 1234567891011121314151617181920 |
- 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);
- }
|