diff --git a/app/Http/Controllers/Article/ListController.php b/app/Http/Controllers/Article/ListController.php index 938fcbe..1e587a0 100755 --- a/app/Http/Controllers/Article/ListController.php +++ b/app/Http/Controllers/Article/ListController.php @@ -102,11 +102,11 @@ class ListController extends Controller foreach ($aArticleList as &$row) { - $sTimeLost = Time::Lost(time(), strtotime($row['created_at'])); + $sTimeLost = Time::Lost(time(), strtotime($row['updated_at'])); $row['time_lost'] = $sTimeLost; - $row['created_at'] = date('n月j日', strtotime($row['created_at'])); + $row['updated_at'] = date('n月j日', strtotime($row['updated_at'])); if ($row['type'] == 'node') { $row['typeStr'] = '免费节点'; diff --git a/resources/views/article/single.blade.php b/resources/views/article/single.blade.php index b8afbfb..d8d032c 100755 --- a/resources/views/article/single.blade.php +++ b/resources/views/article/single.blade.php @@ -168,7 +168,7 @@ - + diff --git a/resources/views/freenode/single.blade.php b/resources/views/freenode/single.blade.php index 54898fd..d433f2e 100755 --- a/resources/views/freenode/single.blade.php +++ b/resources/views/freenode/single.blade.php @@ -199,7 +199,7 @@ - +