wupengfei %!s(int64=2) %!d(string=hai) anos
pai
achega
4d9fdf58eb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config/database.php

+ 1 - 1
config/database.php

@@ -37,5 +37,5 @@ return [
     // 前缀
     'prefix'      => 'dd_',
     // 返回类型
-    'resultset_type'      => 'array',
+    'resultset_type'      => 'think\Collection',
 ];