mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 11:02:48 +08:00
修改小问题
This commit is contained in:
@@ -19,6 +19,7 @@ use League\Flysystem\Util\MimeType;
|
|||||||
use think\File;
|
use think\File;
|
||||||
use think\facade\Filesystem;
|
use think\facade\Filesystem;
|
||||||
use app\model\UploadFiles;
|
use app\model\UploadFiles;
|
||||||
|
use think\app\Url;
|
||||||
use think\facade\Session;
|
use think\facade\Session;
|
||||||
|
|
||||||
function json_message($data = [], $code = 0, $msg = '')
|
function json_message($data = [], $code = 0, $msg = '')
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ use app\model\Category;
|
|||||||
use app\model\Nav;
|
use app\model\Nav;
|
||||||
use app\model\Post;
|
use app\model\Post;
|
||||||
use app\model\PostCategory;
|
use app\model\PostCategory;
|
||||||
|
use think\facade\View;
|
||||||
use think\Request;
|
use think\Request;
|
||||||
|
|
||||||
class Index extends Common
|
class Index extends Common
|
||||||
@@ -19,7 +20,7 @@ class Index extends Common
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|
||||||
return $this->fetch();
|
return View::fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user