$list = self::field('id,ngzb_goods_category_id,name,logo,points,price')
->where('ngzb_goods_category_id',$categoryId)
->limit(20)
->page($page)
->select();
$list = collection($list)->toArray(); //对象转数组
$list = self::field('id,ngzb_goods_category_id,name,logo,points,price')
->where('ngzb_goods_category_id',$categoryId)
->limit(20)
->page($page)
->select();
$list = collection($list)->toArray(); //对象转数组