database
This commit is contained in:
@@ -18,7 +18,7 @@ class HelpWordController extends Frontend
|
||||
$this->error('参数不完整');
|
||||
}
|
||||
$word = new HelpClassify;
|
||||
$word->setConnection(Config('think-orm.search_library'));
|
||||
$word->connect(Config('think-orm.search_library'));
|
||||
$result = $word
|
||||
->with('helpword')
|
||||
->where('types', $get['types'])->select()->toArray();
|
||||
|
||||
Reference in New Issue
Block a user