File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
laravel/app/Http/Repository Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ public function getListV2($line, $refresh = false)
262262 $ fromTo = $ item ['LDirection ' ] ?? '' ;
263263 $ bus = $ item ['LName ' ] ?? '' ;
264264 $ Guid = $ item ['Guid ' ] ?? '' ;
265- $ link = 'APTSLine.aspx?cid=&LineInfo= ' .$ bus .'( ' .$ fromTo .') ' .'&Guid = ' .$ Guid ;
265+ $ link = 'APTSLine.aspx?cid=&LineInfo= ' .$ bus .'( ' .$ fromTo .') ' .'&LineGuid = ' .$ Guid ;
266266 $ return [] = [
267267 'FromTo ' => $ fromTo ,
268268 'bus ' => $ bus ,
@@ -337,8 +337,8 @@ public function getLine($path, $get)
337337
338338 public function getLineData2 ($ path , $ get )
339339 {
340- if (empty ($ path ) || empty ($ get ['cid ' ]) || empty ( $ get [ ' LineGuid ' ]) || empty ($ get ['LineInfo ' ]))
341- return false ;
340+ if (empty ($ path ) || empty ($ get ['LineGuid ' ]) || empty ($ get ['LineInfo ' ]))
341+ return [] ;
342342
343343 $ url = 'http://www.szjt.gov.cn/BusQu/APTSLine.aspx/GetData2 ' ;
344344 $ param = '{"guid":" ' .$ get ['LineGuid ' ].'"} ' ;
You can’t perform that action at this time.
0 commit comments