This commit is contained in:
yaooo 2023-10-10 10:51:14 +08:00
commit aa7bd8d1d9

View File

@ -321,6 +321,7 @@ class CompanyController extends BaseAdminController
return $this->fail('参数不能为空');
}
$where[] = [$parmas['key'], '=', $parmas['value']];
$where[] = ['company_type', '=', $parmas['company_type']];
switch ($parmas['key']) {
case 'city':
// $geo_area=Db::name('geo_area')->where('city_code', '=', $parmas['value'])->column('area_code');