求最近的一家门店
已知用户坐标和商户的坐标,从一组商家中筛选离用户位置最近的一个商家。求优雅的筛选方法。
用户坐标: lat, lng
商户Model: Shop包含latitude,longitude字段
推荐文章: