$gg = DB::table('shop')
->join('shop_map_point', function ($join) {
$join->on('shop.id', '=', 'shop_map_point.shop_id')
->where('shop_map_point.city_id', '=', 1);
})
->join('product', function ($join) {
$join->on('shop.id', '=', 'product.shop_id')
->where('product.category_id', '=', 39);
})
->select( 'product.id','product.name', 'product.description')
->get();