From c8bd87698c7ece2745cffabc7b553626f211205b Mon Sep 17 00:00:00 2001 From: liugang Date: Fri, 1 Nov 2024 19:40:11 +0800 Subject: [PATCH] * [refac] replace dao with mao. --- framework/model.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/model.class.php b/framework/model.class.php index 2557e069b6..dae146ed32 100644 --- a/framework/model.class.php +++ b/framework/model.class.php @@ -90,7 +90,7 @@ class model extends baseModel $table = zget($this->config->objectTables, $moduleName, ''); if(empty($table)) return false; - return $this->dao->findById($objectID)->from($table)->fetch(); + return $this->mao->findById($objectID)->from($table)->fetch(); } /**