语言地区列表接口错误修复

This commit is contained in:
evoxwht 2023-04-13 18:16:52 +08:00
parent f77e1dc4d2
commit 163a77e746

View File

@ -29,7 +29,7 @@ class LangCountryServices extends BaseServices
public function LangCountryList(array $where = []): array
{
[$page, $limit] = $this->getPageValue();
$list = $this->dao->selectList($where, '*', $page, $limit, 'id desc', true)->toArray();
$list = $this->dao->selectList($where, '*', $page, $limit, 'id desc', [], true)->toArray();
/** @var LangTypeServices $langTypeServices */
$langTypeServices = app()->make(LangTypeServices::class);
$langTypeList = $langTypeServices->getColumn([], 'language_name,file_name,id', 'id');