|
$search_name = input('search_name','');
|
|
$search_name = input('search_name','');
|
|
if($search_name) $where[] = ['g.name','like',"%".$search_name."%"];
|
|
if($search_name) $where[] = ['g.name','like',"%".$search_name."%"];
|
|
->field('v.create_at,v.sort,v.id,v.online_id,v.goods_id,v.depot_id,g.name as goods_name,g.cover,g.name,g.low_price,g.status,g.is_deleted')
|
|
->field('v.create_at,v.sort,v.id,v.online_id,v.goods_id,v.depot_id,g.name as goods_name,g.cover,g.name,g.low_price,g.status,g.is_deleted')
|