...
|
...
|
@@ -18,11 +18,11 @@ class BusinessController extends Controller |
|
|
*/
|
|
|
public function category()
|
|
|
{
|
|
|
$data=Db::name('category')->where('delete_time',null)->select()->each(function ($item) {
|
|
|
$data=Db::name('category')->where(['delete_time'=>null,'name'=>['neq','营销发布']])->select()->each(function ($item) {
|
|
|
$item['image'] = cmf_get_image_preview_url($item['image']);
|
|
|
return $item;
|
|
|
});
|
|
|
unset($data[1]);
|
|
|
// unset($data[1]);
|
|
|
$this->success('获取信息成功',$data);
|
|
|
}
|
|
|
|
...
|
...
|
|