From 861d96597424a1b34fd78f5a1ca0bb6ba5504b61 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 4 Nov 2019 18:59:20 +0800 Subject: [PATCH] Update Update.php --- app/admin/controller/api/Update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/controller/api/Update.php b/app/admin/controller/api/Update.php index c456c685a..4af3df269 100644 --- a/app/admin/controller/api/Update.php +++ b/app/admin/controller/api/Update.php @@ -44,7 +44,7 @@ class Update extends Controller $this->file = $this->app->getRootPath() . decode(input('encode', '0')); file_exists($this->file) ? $this->success('读取文件成功!', [ 'content' => base64_encode(file_get_contents($this->file)), - ]) : $this->error('获取文件内容失败!'); + ]) : $this->error('读取文件内容失败!'); } }