| | |
| | | @RestController |
| | | @RequestMapping("/system/param/") |
| | | @AllArgsConstructor |
| | | @Tag(name = "DNC导入", description = "DNC导入接口") |
| | | @Tag(name = "MDM系统参数", description = "MDM系统参数") |
| | | @Slf4j |
| | | public class MdmParamController { |
| | | private final ISysClient sysClient; |
| | |
| | | @GetMapping("/getValue") |
| | | @ApiOperationSupport(order = 2) |
| | | @Operation(summary = "获取参数值") |
| | | public R<String> detail(@Parameter(description = "参数Key") @RequestParam String paramKey) { |
| | | public R<String> getValue(@Parameter(description = "参数Key") @RequestParam String paramKey) { |
| | | try { |
| | | return sysClient.getParamValue(paramKey); |
| | | }catch (Exception e){ |