stanley-king 9 yıl önce
ebeveyn
işleme
984915f7fd

+ 0 - 2
crontab/crawl/fetch_goods.php

@@ -33,8 +33,6 @@ date_default_timezone_set('Asia/Shanghai');
 $treater = new pretreat_tmdata();
 $treater->proc();
 
-
-
 $spec = new spec_attr();
 $spec->proc();
 

+ 2 - 3
crontab/crawl/product_importer.php

@@ -458,11 +458,10 @@ class product_importer
     {
         $items = $this->get_tmgoods();
         foreach($items as $item) {
-            print "handle num_iid=" . $item['num_iid'] . "\r\n";
+            print "handle num_iid=" . $item['num_iid'] . " start.\r\n";
             $this->import_item($item['body'],$item['desc']);
             $this->tm_goods->where(array('num_iid' => $item['num_iid']))->update(array('imported' => 1));
-
-            //$this->tm_goods->update(where())
+            print "handle num_iid=" . $item['num_iid'] . " end. \r\n";
         }
     }
 }