fix: 系统设置无法保存
This commit is contained in:
@@ -58,7 +58,7 @@ public class KhSystemSettingController extends JeroController<KhSystemSetting, I
|
|||||||
@ApiOperation(value="系统设置-保存设置", notes="系统设置-保存设置")
|
@ApiOperation(value="系统设置-保存设置", notes="系统设置-保存设置")
|
||||||
@PostMapping(value = "/save")
|
@PostMapping(value = "/save")
|
||||||
public Results<T> add(@Validated @RequestBody KhSystemSetting khSystemSetting) {
|
public Results<T> add(@Validated @RequestBody KhSystemSetting khSystemSetting) {
|
||||||
khSystemSettingService.save(khSystemSetting);
|
khSystemSettingService.saveOrUpdate(khSystemSetting);
|
||||||
return Results.OK("操作成功!");
|
return Results.OK("操作成功!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user