panlumeng 3 years ago
parent
commit
ac8e48b510
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Customer.php

+ 1 - 1
app/admin/controller/Customer.php

@@ -26,7 +26,7 @@ class Customer extends BaseController
     public function list(){
         $page= isset($this->post['page']) && $this->post['page']!==""? intval($this->post['page']):"1";
         $size = isset($this->post['size']) && $this->post['size'] != "" ? intval($this->post['size']) :"10";
-        $pid =  isset($this->post['pid']) &&$this->post['pid']!=="" ?intval($this->post['pid']): 0;
+        $pid =  isset($this->post['pid']) &&$this->post['pid']!=="" ?intval($this->post['pid']): "0";
         $where =[];
         $where []= ['is_del',"=",0];
         $condition = [['is_del',"=",0]];