From d7d978327812d14acc8075221e2cb80aec348cbe Mon Sep 17 00:00:00 2001 From: funadmin <994927909@qq.com> Date: Sat, 3 Sep 2022 11:41:43 +0800 Subject: [PATCH] Update CurdService.php --- src/curd/service/CurdService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/curd/service/CurdService.php b/src/curd/service/CurdService.php index 52de411..fb4369e 100644 --- a/src/curd/service/CurdService.php +++ b/src/curd/service/CurdService.php @@ -54,6 +54,7 @@ class CurdService */ protected $database = 'funadmin'; protected $driver = 'mysql'; + protected $isapp = false; protected $force = false; protected $jump = true;//跳过文件 protected $rootPath; @@ -151,6 +152,7 @@ protected function setArg() $this->nodeType = $this->addon?'addons_url':'__u'; $this->module = $this->config['module'] ?: 'backend'; $this->force = $this->config['force']; + $this->isapp = $this->config['app']; $this->jump = $this->config['jump']; $this->limit = $this->config['limit'] ?:15; $this->page = (empty($this->config['page']) || $this->config['page']=='true')? "true" : 'false';