think-orm

This commit is contained in:
2025-08-15 10:51:00 +08:00
parent b461dab6fb
commit dc60b38526
27 changed files with 169 additions and 49 deletions

View File

@@ -38,7 +38,7 @@ class Common extends Backend
if(empty($get['num'])) {
$this->error('type 不能为空');
}
$data = convertToCamelCase(Db::connect(config('database.search_library'))->name('common_info')->where('type', $get['num'])->find());
$data = convertToCamelCase(Db::connect(config('think-orm.search_library'))->name('common_info')->where('type', $get['num'])->find());
$this->success('ok', $data);
}
}