|
|
@ -137,4 +137,11 @@ public class SysParamsController { |
|
|
return new Result<String>().ok(sysParamsService.getValue(paramCode)); |
|
|
return new Result<String>().ok(sysParamsService.getValue(paramCode)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("updateValueByCode") |
|
|
|
|
|
@Operation(summary = "通过编码获取值") |
|
|
|
|
|
public Result<Void> updateParamCode(@RequestParam String paramCode, @RequestParam String paramValue){ |
|
|
|
|
|
sysParamsService.updateValueByCode(paramCode, paramValue); |
|
|
|
|
|
return new Result<>(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |