ShuanghongS 1 سال پیش
والد
کامیت
a4ebcb9313
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      utils/common.class.php

+ 2 - 2
utils/common.class.php

@@ -1285,8 +1285,8 @@ class common {
                     null::timestamp without time zone as stime,''::text as ptype 
 				from vessel.vt_unlocode where lon<>0 and lat<>0 and lon is not null and lat is not null and uncode='".$orgin['shippr_uncode']."'";
             $map = common::excuteObjectSql($map_sql);   
-             $json = '{"lng":"100.78594000","lat":"13.68521000","label":"'.$orgin['origin'].'","infor":"LAT KRABANG, THAILAND","sort":"0","stime":null,"ptype":"por"}';
-             $map = json_decode($json,true); 
+            // $json = '{"lng":"100.78594000","lat":"13.68521000","label":"'.$orgin['origin'].'","infor":"LAT KRABANG, THAILAND","sort":"0","stime":null,"ptype":"por"}';
+            // $map = json_decode($json,true); 
             $toporiginMap[] = array("qandl"=>array(floatval($map['lng']),floatval($map['lat'])),
                 "divIcon" => array("iconSize"=>0),
                 "name" =>$orgin['shippr_uncode'],