diff --git a/app/index/controller/Post.php b/app/index/controller/Post.php index 44c928a..15edf07 100644 --- a/app/index/controller/Post.php +++ b/app/index/controller/Post.php @@ -43,7 +43,7 @@ class Post extends Common ])->where('uid', $uid)->find(); if (empty($model_post)) { - return $this->error('链接已失效', '/'); + return $this->error('链接已失效', '/', 404); } Cache::set($cache_key, $model_post, 600);