Browse Source

change fetch goods file

stanley-king 9 years ago
parent
commit
d1c55563ac
1 changed files with 10 additions and 10 deletions
  1. 10 10
      crontab/crawl/fetch_goods.php

+ 10 - 10
crontab/crawl/fetch_goods.php

@@ -40,17 +40,17 @@ function not_null($str)
     return (empty($str)) ? '' : $str;
 }
 
-//$tmreq = new tmrequest();
-//$tmreq->proc();
-////
-//$cat = new category();
-//$cat->proc();
+$tmreq = new tmrequest();
+$tmreq->proc();
 //
-//$treater = new pretreat_tmdata();
-//$treater->proc(false);
-//
-//$spec = new spec_attr_parser();
-//$spec->proc();
+$cat = new category();
+$cat->proc();
+
+$treater = new pretreat_tmdata();
+$treater->proc(false);
+
+$spec = new spec_attr_parser();
+$spec->proc();
 
 $importer = new product_importer();
 $importer->proc_shop();