提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.system.api.params; |
H |
2 |
|
|
3 |
import com.iailab.module.system.enums.ApiConstants; |
|
4 |
import io.swagger.v3.oas.annotations.Operation; |
|
5 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
7 |
import org.springframework.web.bind.annotation.GetMapping; |
|
8 |
import org.springframework.web.bind.annotation.PathVariable; |
|
9 |
|
|
10 |
@FeignClient(name = ApiConstants.NAME) |
|
11 |
@Tag(name = "系统配置文件") |
|
12 |
public interface ParamsApi { |
|
13 |
|
|
14 |
@Operation(summary = "Feign接口-查询月初或者年初") |
|
15 |
@GetMapping("/api/feign/param/{paramCode}&&{type}") |
|
16 |
String queryParamsByCode(@PathVariable("paramCode") String paramCode, @PathVariable("type") String type); |
|
17 |
|
|
18 |
@Operation(summary = "Feign接口-查询配置参数") |
|
19 |
@GetMapping("/api/feign/sys-param/{paramCode}") |
|
20 |
String queryParamByCode(@PathVariable("paramCode") String paramCode); |
|
21 |
} |