作者 赵彬吉
@@ -28,9 +28,7 @@ class DomainInfoController extends BaseController @@ -28,9 +28,7 @@ class DomainInfoController extends BaseController
28 { 28 {
29 $domainModel = new DomainInfo(); 29 $domainModel = new DomainInfo();
30 if(isset($this->map['domain']) && !empty($this->map['domain'])){ 30 if(isset($this->map['domain']) && !empty($this->map['domain'])){
31 - $parsedUrl = parse_url($this->map['domain']);  
32 - $this->map['domain'] = $parsedUrl['host'] ?? $this->map['domain'];  
33 - $this->map['domain'] = ['like','%'.$this->map['domain'],'%']; 31 + $this->map['domain'] = ['like','%'.$this->map['domain'].'%'];
34 } 32 }
35 $lists = $domainModel->lists($this->map,$this->page,$this->row,$this->order); 33 $lists = $domainModel->lists($this->map,$this->page,$this->row,$this->order);
36 if(!empty($lists)){ 34 if(!empty($lists)){