longyi 5 tháng trước cách đây
mục cha
commit
116b844405
1 tập tin đã thay đổi với 6 bổ sung4 xóa
  1. 6 4
      core/CoreApp/controllers/Apipf.php

+ 6 - 4
core/CoreApp/controllers/Apipf.php

@@ -76,7 +76,7 @@ class Apipf extends Start_Controller{
        if($api != $this->api){
             die("No data to be executed");
        }
-       $list = $this->customer->find_all("more_three = 1","id,shop,source,name,email,phone,money,num,country,province,city,street,address,address2,zipcode",'id asc',0,3);
+       $list = $this->customer->find_all("more_three = 1","id,shop,source,name,email,phone,money,num,country,province,city,street,address,address2,zipcode",'id asc',0,200);
        //$list = $this->customer->find_all("id = 71015","id,shop,source,name,email,phone,money,num,country,province,city,street,address,address2,zipcode",'id asc',0,100);
        if(empty($list)){
            die("This is a request without data");  
@@ -125,9 +125,11 @@ class Apipf extends Start_Controller{
            $data[] = $item; 
            $customer_ids[] = $item['customer_id'];
        }
-       var_dump($customer_ids);
-       var_dump($data);
-      
+       var_dump(json_encode($customer_ids));
+    //   var_dump($data);
+       if(empty($data)){
+            return ;
+       }
        $res = $this->sendHttp($url,$header,['data'=>$data]);
         var_dump($res);
         if($res['status']){