Commit 83b66253 authored by hujun's avatar hujun

经纬度

parent ef3838a9
......@@ -96,7 +96,7 @@ class OrderLog extends Basic
$push_client->record((int)$params["report_id"], (int)$params["order_id"], 0, '', (int)$this->agentId, 0, $params["report_id"]);
//经纬度
if (!empty($params['longitude']) && !empty($params['latitude'])) {
if (!empty($longitude) && !empty($latitude)) {
$s_location = new LocationService();
$s_location->add($this->agentId, $longitude, $latitude, 1, $insert_id);
}
......
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