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

This commit is contained in:
2025-03-10 09:57:10 +08:00
parent 1da2355d2a
commit 7701f5167d

View File

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