Commit 29404fc1 authored by hujun's avatar hujun

经纬度

parent 25c1c0e3
......@@ -71,17 +71,13 @@ class OfficeService
//新增周边交通
if (!empty($data['add_building_stations'])) {
$position_service = new PositionService();
$first_position = $data['latitude'].','.['longitude'];
$first_position = $data['latitude'].','.$data['longitude'];
$add_building_stations = json_decode($data['add_building_stations'], true);
foreach ($add_building_stations as $k=>$v) {
if (empty($v['stations_id'])) {
continue;
}
if (empty($v['distance'])) {
continue;
}
$where['building_id'] = $id;
$where['stations_id'] = $v['stations_id'];
$building_station_id = $this->m_building_stations->getFindData('id', $where);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment