|
|
@ -369,7 +369,7 @@ class Goods extends Controller |
|
|
|
* @return [type] [description] |
|
|
|
* @return [type] [description] |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function collector(string $sku): Json{ |
|
|
|
public function collector(string $sku): Json{ |
|
|
|
$res = getJdGoodsBySku([$sku], 10048, 0, true); |
|
|
|
$res = getJdGoodsBySku([$sku]); |
|
|
|
// $collector = new \app\job\service\goods\Collector; |
|
|
|
// $collector = new \app\job\service\goods\Collector; |
|
|
|
// $url = "https://item.jd.com/{$sku}.html"; |
|
|
|
// $url = "https://item.jd.com/{$sku}.html"; |
|
|
|
// $res1 = $collector->collector($url, 10048); |
|
|
|
// $res1 = $collector->collector($url, 10048); |
|
|
|