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)
262
262
$ fromTo = $ item ['LDirection ' ] ?? '' ;
263
263
$ bus = $ item ['LName ' ] ?? '' ;
264
264
$ Guid = $ item ['Guid ' ] ?? '' ;
265
- $ link = 'APTSLine.aspx?cid=&LineInfo= ' .$ bus .'( ' .$ fromTo .') ' .'&Guid = ' .$ Guid ;
265
+ $ link = 'APTSLine.aspx?cid=&LineInfo= ' .$ bus .'( ' .$ fromTo .') ' .'&LineGuid = ' .$ Guid ;
266
266
$ return [] = [
267
267
'FromTo ' => $ fromTo ,
268
268
'bus ' => $ bus ,
@@ -337,8 +337,8 @@ public function getLine($path, $get)
337
337
338
338
public function getLineData2 ($ path , $ get )
339
339
{
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 [] ;
342
342
343
343
$ url = 'http://www.szjt.gov.cn/BusQu/APTSLine.aspx/GetData2 ' ;
344
344
$ param = '{"guid":" ' .$ get ['LineGuid ' ].'"} ' ;
You can’t perform that action at this time.
0 commit comments