fix
This commit is contained in:
@@ -5,7 +5,6 @@ declare(strict_types=1);
|
||||
namespace app\model;
|
||||
|
||||
use db\mongo\MongoBase;
|
||||
use ddl\DDLManage;
|
||||
use MongoDB\Collection;
|
||||
use think\facade\Cache;
|
||||
|
||||
@@ -35,8 +34,6 @@ abstract class MongoModel
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
DDLManage::load('MongoBase');
|
||||
|
||||
$this->MongoBase = MongoBase::getInstance();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user