Kaynağa Gözat

10/16commit

ShuanghongS 1 yıl önce
ebeveyn
işleme
a4ebcb9313
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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'],