!429 update 优化 通过参数键名获取键值接口的返回体

Merge pull request !429 from David Wei/update/config_response
feature/model
疯狂的狮子Li 1 year ago committed by Gitee
commit aabd3990a0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -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…
Cancel
Save