From 0b29a5351e07f648fab4e722bacf738b4691982f Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 20 Nov 2023 09:09:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=94=99=E8=AF=AF=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);