Commit 47f4aeac82d96c5f2691c5fce8f586e4e35f6664
1 parent
dae358de
remarketing
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
console/controllers/FeedController.php
| ... | ... | @@ -47,9 +47,7 @@ class FeedController extends Controller |
| 47 | 47 | // print $this->count++ . "\n"; |
| 48 | 48 | // $content[] = [$url]; |
| 49 | 49 | // } |
| 50 | - foreach ($product as $item) { | |
| 51 | - print $item->product_id."\r\n"; | |
| 52 | - } | |
| 50 | + print $product->product_id."\r\n"; | |
| 53 | 51 | } |
| 54 | 52 | |
| 55 | 53 | public function actionProcess() { | ... | ... |