...
|
...
|
@@ -40,8 +40,9 @@ class ActivityController extends AdminBaseController |
|
|
}
|
|
|
$data=Db::name('activity')
|
|
|
->alias('a')
|
|
|
->field('a.*,at.type_name,pc.province_name as city_name')
|
|
|
->join('activity_type at','a.activity_type=at.id','LEFT')
|
|
|
->join('position_city pc','a.position_id=pc.id','LEFT')
|
|
|
->join('position_province pc','a.position_id=pc.id','LEFT')
|
|
|
->where('a.delete_time',0)
|
|
|
->where($where)
|
|
|
->order('a.create_time desc')
|
...
|
...
|
|