wupengfei 2 년 전
부모
커밋
4d9fdf58eb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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',
 ];