update:创建公司,地区限制为同一类型公司不可重复选择
This commit is contained in:
parent
d07952db03
commit
7941ca4371
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user