longyi 5 miesięcy temu
rodzic
commit
e63b2ca494

+ 3 - 1
core/CoreApp/controllers/Apipf.php

@@ -74,7 +74,9 @@ class Apipf extends Start_Controller{
        }
        $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,100);
        //$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");  
+       }
        
        $send_list = [];
        foreach($list as $k=>$v){

+ 0 - 3
core/CoreApp/controllers/Queueu9.php

@@ -42,9 +42,6 @@ class Queueu9 extends Start_Controller {
 
      //执行小单的流转到临时仓的队列  
     public function _xdls(){
-       die;
-       
-        echo "<pre>";
         //第一步生成 许昌成品库的调出单
         $list =  $this->zzquque_u9->find_all("type = 10 and dc_status = 0 and cg_status = 0 and xs_status = 0 ",'*','id asc');
         $do_list = [];