From 5772c56005a7d7f97fb91559d6cf06de4a71b997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 11 Apr 2023 11:46:49 +0800 Subject: [PATCH] Update Index.php --- app/index/controller/Index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/index/controller/Index.php b/app/index/controller/Index.php index dea445d17..b861eefba 100644 --- a/app/index/controller/Index.php +++ b/app/index/controller/Index.php @@ -16,12 +16,14 @@ namespace app\index\controller; +use app\data\model\ShopOrderItem; use think\admin\Controller; class Index extends Controller { public function index() { - $this->redirect(sysuri('admin/login/index')); + echo ShopOrderItem::mk()->alias('a')->getTable(); + //$this->redirect(sysuri('admin/login/index')); } }