refactor: 修改配置列表详情接口

This commit is contained in:
2025-03-10 09:57:10 +08:00
parent 1d45f48ca8
commit 0d48fbba9f

View File

@@ -89,7 +89,7 @@ class SysConfig
'updated_at',
'deleted_at'
])
->bypy($id)
->bypk($id)
->find();
if (empty($config)) {
return error('配置项不存在');