no message
This commit is contained in:
1 parent
8a9d5b0c65
commit
31d6685f47
11 files changed
+612
-22
No files matched your search
@@ -105,6 +105,7 @@ class ListController extends Controller
|
||||
if ($row['type'] == 'node') {
|
||||
$row['typeStr'] = '免费节点';
|
||||
$row['pathBase'] = '/fn/';
|
||||
$row['title'] = '「'.$row['date_str'].'」'.$row['title'];
|
||||
} else if (in_array($row['type'], ['ios','mac','win','linux','android'])) {
|
||||
$row['typeStr'] = $row['type'].'客户端';
|
||||
$row['pathBase'] = '/client/';
|
||||
@@ -124,7 +125,7 @@ class ListController extends Controller
|
||||
$sViewPath = 'article/list';
|
||||
}
|
||||
|
||||
return view($sViewPath, [
|
||||
$sHtml = view($sViewPath, [
|
||||
'sAppName' => env('APP_NAME'),
|
||||
'aList' => $aArticleList,
|
||||
'aTag' => @$aTagMap[$iTagId-1],
|
||||
@@ -133,7 +134,11 @@ class ListController extends Controller
|
||||
'sType' => $sType,
|
||||
'sTypeSub' => $sTypeSub,
|
||||
// 'sSiteCode' => env('site_code'),
|
||||
]);
|
||||
])->render();
|
||||
|
||||
file_put_contents('index.html', $sHtml);
|
||||
|
||||
return $sHtml;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user