Commit 8d17a363bdd663f9bd3737cd7761afee1e54e378
1 parent
faccd9fd
remarketing
Showing
1 changed file
with
9 additions
and
2 deletions
Show diff stats
console/controllers/FeedController.php
| ... | ... | @@ -11,9 +11,16 @@ namespace console\controllers; |
| 11 | 11 | use yii\console\Controller; |
| 12 | 12 | use Yii; |
| 13 | 13 | use yii\helpers\Url; |
| 14 | -use yii\web\NotFoundHttpException; | |
| 15 | 14 | use common\modules\product\models\Product; |
| 16 | 15 | |
| 16 | +use common\modules\product\models\Category; | |
| 17 | +use frontend\models\ProductFrontendSearch; | |
| 18 | +use common\models\Page; | |
| 19 | +use yii\filters\VerbFilter; | |
| 20 | + | |
| 21 | +use yii\helpers\ArrayHelper; | |
| 22 | +use yii\web\NotFoundHttpException; | |
| 23 | + | |
| 17 | 24 | |
| 18 | 25 | class FeedController extends Controller |
| 19 | 26 | { |
| ... | ... | @@ -21,7 +28,7 @@ class FeedController extends Controller |
| 21 | 28 | private $count = 1; |
| 22 | 29 | |
| 23 | 30 | public function getProducts() { |
| 24 | - return Product::find()->limit(10)->all(); | |
| 31 | + return Product::find()->limit(100)->all(); | |
| 25 | 32 | } |
| 26 | 33 | |
| 27 | 34 | public function checkUrl($url){ | ... | ... |