mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正mysql驱动
This commit is contained in:
@@ -57,6 +57,7 @@ class Mysql extends Driver
|
||||
$result = $this->query($sql);
|
||||
$info = [];
|
||||
if ($result) {
|
||||
$result = array_change_key_case($result);
|
||||
foreach ($result as $key => $val) {
|
||||
$info[$val['field']] = [
|
||||
'name' => $val['field'],
|
||||
|
||||
Reference in New Issue
Block a user