|
@@ -220,7 +220,7 @@ class PublicController extends CommonController
|
220
|
220
|
*/
|
221
|
221
|
public function actionSearchalertwindow()
|
222
|
222
|
{
|
223
|
|
- $city = CategoryCity::find()->andWhere(['del' => 1])->select(['id'])->andWhere(['pid' => 68])->column();
|
|
223
|
+ $city = CategoryCity::find()->andWhere(['del' => 1,'state'=>1,'abroad'=>1])->select(['id'])->column();
|
224
|
224
|
$model = new HouseServer();
|
225
|
225
|
$query = House::find();
|
226
|
226
|
$query->andWhere(['is_push' => 2]);
|
|
@@ -230,7 +230,8 @@ class PublicController extends CommonController
|
230
|
230
|
$query->select(['id', 'name']);
|
231
|
231
|
// $query->orderBy('RAND()');
|
232
|
232
|
$query->orderBy(['pfg_house.sort'=>SORT_DESC]);
|
233
|
|
- $shaixuan = $query->limit(8)->asArray()->all();
|
|
233
|
+ $shaixuan = $query->limit(9)->asArray()->all();
|
|
234
|
+
|
234
|
235
|
$price = $model->PriceList();
|
235
|
236
|
return $this->renderPartial('searchalertwindow', [
|
236
|
237
|
'shaixuan' => $shaixuan,
|