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