浏览代码

Update Update.php

Anyon 5 年之前
父节点
当前提交
861d965974
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/api/Update.php

+ 1 - 1
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('取文件内容失败!');
     }
 
 }