rabin 9 months ago
parent
commit
a4cf04663d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dai/seller/api/Task.php

+ 1 - 1
src/dai/seller/api/Task.php

@@ -241,7 +241,7 @@ class Task
     # 插入测试数据
     # 插入测试数据
     public function test()
     public function test()
     {
     {
-        $order = Dever::db('order_bak', 'seller')->select([]);
+        $order = Dever::db('order_bak', 'seller')->load([]);
         foreach ($order as $k => $v) {
         foreach ($order as $k => $v) {
             //$v['cdate'] = time();
             //$v['cdate'] = time();
             Dever::db('order_log1', 'seller')->insert($v);
             Dever::db('order_log1', 'seller')->insert($v);