package com.iailab.module.infra.api.config;
|
|
import com.iailab.module.infra.enums.ApiConstants;
|
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.*;
|
|
@FeignClient(name = ApiConstants.NAME)
|
@Tag(name = "配置文件")
|
public interface ConfigApi {
|
|
@Operation(summary = "Feign接口-查询配置参数")
|
@GetMapping("/api/feign/infra-config/{configCode}")
|
String queryConfigByCode(@PathVariable("configCode") String configCode);
|
|
}
|