'',
'name' => '
',
'price' => '',
);
}
public function link($link)
{
$url = parse_url($link);
parse_str($url['query'], $query);
if (isset($query['id'])) {
$id = $query['id'];
$link = 'https://item.taobao.com/item.htm?id=' . $id;
}
return $link;
}
public function replace($key, $data)
{
return $data;
}
}