update 优化 通过参数键名获取键值接口的返回体
This commit is contained in:
parent
b24e6348c3
commit
937de85647
@ -68,8 +68,8 @@ public class SysConfigController extends BaseController {
|
|||||||
* @param configKey 参数Key
|
* @param configKey 参数Key
|
||||||
*/
|
*/
|
||||||
@GetMapping(value = "/configKey/{configKey}")
|
@GetMapping(value = "/configKey/{configKey}")
|
||||||
public R<Void> getConfigKey(@PathVariable String configKey) {
|
public R<String> getConfigKey(@PathVariable String configKey) {
|
||||||
return R.ok(configService.selectConfigByKey(configKey));
|
return R.ok("操作成功", configService.selectConfigByKey(configKey));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user