...
|
...
|
@@ -15,6 +15,7 @@ class PortalCategoryModel extends Model |
|
|
'more' => 'array',
|
|
|
];
|
|
|
public function selectData($where){
|
|
|
$where['delete_time'] = ['eq',0];
|
|
|
$data = $this->where($where)->order('list_order asc')->select()->toArray();
|
|
|
foreach($data as $key => $vo){
|
|
|
$data[$key]['thumbnail'] = cmf_get_image_url($vo['more']['thumbnail']);
|
...
|
...
|
|