Esempio n. 1
0
 public function get_item_list($num_id)
 {
     $top_client = get_top_client();
     $req = new ItemGetRequest();
     $req->setFields("sku.sku_id,sku.outer_id ,num_iid, title, price, detail_url ,post_fee, express_fee,ems_fee, created,pic_url,nick");
     $req->setNick("通拓科技");
     $req->setNumIid($num_id);
     $resp = $top_client->execute($req);
     $taobao_q = $this->taobao_model->get_item_list($resp);
 }
Esempio n. 2
0
 private function item_get($num_id)
 {
     echo "getting {$num_id}\n";
     $top_client = get_top_client();
     $req = new ItemGetRequest();
     $req->setFields("sku.sku_id, sku.outer_id, outer_id, num_iid, title, price, detail_url, post_fee, express_fee,ems_fee, created, pic_url, nick");
     $req->setNick($this->nickname);
     $req->setNumIid($num_id);
     $resp = $top_client->execute($req);
     $taobao_q = $this->taobao_model->save_mytaobao_list($resp);
 }