Skip to content

Commit b76a0eb

Browse files
committed
fix: 公交临时维护地址
1 parent 4e020be commit b76a0eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

laravel/app/Http/Repository/BusRepository.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ public function getLine($path, $get)
237237
// $queryList = QueryList::html($html);
238238
// 实时公交返回的网页数据
239239
try {
240-
$url = 'http://www.szjt.gov.cn/BusQuery/'.$path;
240+
// $url = 'http://www.szjt.gov.cn/BusQuery/'.$path;
241+
$url = 'http://www.szjt.gov.cn/BusQu/'.$path;
241242
$queryList = QueryList::get($url, $get, [
242243
// 设置超时时间,单位:秒
243244
'timeout' => 4,

0 commit comments

Comments
 (0)