package com.iailab.module.system.api.params; import com.iailab.module.system.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.GetMapping; import org.springframework.web.bind.annotation.PathVariable; @FeignClient(name = ApiConstants.NAME) @Tag(name = "系统配置文件") public interface ParamsApi { @Operation(summary = "Feign接口-查询月初或者年初") @GetMapping("/api/feign/param/{paramCode}&&{type}") String queryParamsByCode(@PathVariable("paramCode") String paramCode, @PathVariable("type") String type); @Operation(summary = "Feign接口-查询配置参数") @GetMapping("/api/feign/sys-param/{paramCode}") String queryParamByCode(@PathVariable("paramCode") String paramCode); }