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