|
|
@@ -143,7 +143,4 @@ def save_device_config(params: SaveDeviceConfig):
|
|
|
# 走编辑逻辑
|
|
|
kwargs = params.__dict__
|
|
|
save_device_config = deviceConfig.update(session, obj_id=action_id, **kwargs)
|
|
|
- # session = SqlQuery()
|
|
|
- # configModel = CRUD(DeviceConfig)
|
|
|
- # configList = configModel.delete(session, obj_id=action_id)
|
|
|
- return {"code": 0, "msg": "操作成功", "data": None}
|
|
|
+ return {"code": 0, "msg": "操作成功", "data": save_device_config}
|