...
|
...
|
@@ -61,7 +61,7 @@ class AdminLightController extends AdminBaseController |
|
|
->join('temple t', 'l.temple_id=t.id','left')
|
|
|
->join('temple_area ta', 'l.area_id=ta.id','left')
|
|
|
->where($where)
|
|
|
->field('l.*,t.address,t.name as tname,ta.name as taname,ta.light')
|
|
|
->field('l.*,t.address as taddress,t.name as tname,ta.name as taname,ta.light')
|
|
|
->order('l.create_time', 'desc')
|
|
|
->paginate('10');
|
|
|
//向地址传参
|
...
|
...
|
@@ -82,7 +82,7 @@ class AdminLightController extends AdminBaseController |
|
|
->join('temple t', 'l.temple_id=t.id','left')
|
|
|
->join('temple_area ta', 'l.area_id=ta.id','left')
|
|
|
->where('l.temple_id', $id)
|
|
|
->field('l.*,t.address,t.name as tname,ta.name as taname,ta.light')
|
|
|
->field('l.*,t.address as taddress,t.name as tname,ta.name as taname,ta.light')
|
|
|
->order('l.create_time', 'desc')
|
|
|
->paginate('10');
|
|
|
$this->assign('page', $data->render());
|
...
|
...
|
|