SysGoods::notorm() ->alias(‘a‘) ->leftJoin(‘goods_category‘,‘b‘,‘a.category_id = b.id‘) ->select(‘a.id,a.name,b.name c_name‘);
2023-12-30 19:25:58
SysGoods::notorm() ->alias(‘a‘) ->leftJoin(‘goods_category‘,‘b‘,‘a.category_id = b.id‘) ->select(‘a.id,a.name,b.name c_name‘);