|
@@ -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);
|