|
@@ -92,7 +92,7 @@ class HouseBoard extends Api |
|
@@ -92,7 +92,7 @@ class HouseBoard extends Api |
92
|
/*最新公告信息*/
|
92
|
/*最新公告信息*/
|
93
|
$house_board = Db::name('house_board')
|
93
|
$house_board = Db::name('house_board')
|
94
|
->where('house_id',$data['house_id'])
|
94
|
->where('house_id',$data['house_id'])
|
95
|
- ->where('deletetime','') //未下架
|
95
|
+ ->where('deletetime',null) //未下架
|
96
|
->order('createtime desc')
|
96
|
->order('createtime desc')
|
97
|
->field('id,title,content,look_num,createtime,images')
|
97
|
->field('id,title,content,look_num,createtime,images')
|
98
|
->find();
|
98
|
->find();
|
|
@@ -224,7 +224,7 @@ class HouseBoard extends Api |
|
@@ -224,7 +224,7 @@ class HouseBoard extends Api |
224
|
->count();
|
224
|
->count();
|
225
|
$data['info'] = Db::name('house_board')
|
225
|
$data['info'] = Db::name('house_board')
|
226
|
->where('house_id',$house_id)
|
226
|
->where('house_id',$house_id)
|
227
|
- ->where('deletetime','') //未下架
|
227
|
+ ->where('deletetime',null) //未下架
|
228
|
->order('weigh desc')
|
228
|
->order('weigh desc')
|
229
|
->page($page,$pageNum)
|
229
|
->page($page,$pageNum)
|
230
|
->select();
|
230
|
->select();
|