lvhao 1 месяц назад
Родитель
Сommit
c300b81c32
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      core/CoreApp/controllers/Apiexpress.php

+ 2 - 2
core/CoreApp/controllers/Apiexpress.php

@@ -302,7 +302,7 @@ class Apiexpress extends Start_Controller {
        }
        // $type == 2 为运单号
        if($type == 2){
-           $info = $this->logic_order->getInfoByTableName($table_name,"waybill =  '".$order_no. "'  and  shop = ".$shop,"id,number,orderinfo,express,excontent,expressstate,waybill,dtime,printtime,client,name,country,province,city,address,address2,street,phone,zipcode,dlzemailtime");
+           $info = $this->logic_order->getInfoByTableName($table_name,"waybill =  '".$order_no. "'  and  shop = ".$shop,"id,number,orderinfo,express,excontent,expressstate,waybill,dtime,printtime,client,name,country,province,city,address,address2,street,phone,zipcode,dlzemailtime,library,librarytime");
            //当检索不到运单号时,返回订单已经备货了
            if(empty($info)){
                die($this->logic_tools->ret_json(1,"success",[
@@ -347,7 +347,7 @@ class Apiexpress extends Start_Controller {
            }
 
        }else{
-           $info = $this->logic_order->getInfoByTableName($table_name,"orderinfo =  '".$shop.$order_no. "'  and  shop = ".$shop,"id,number,orderinfo,express,excontent,expressstate,waybill,dtime,printtime,client,name,country,province,city,address,address2,street,phone,zipcode,dlzemailtime,library,librarytime,printtime");
+           $info = $this->logic_order->getInfoByTableName($table_name,"orderinfo =  '".$shop.$order_no. "'  and  shop = ".$shop,"id,number,orderinfo,express,excontent,expressstate,waybill,dtime,printtime,client,name,country,province,city,address,address2,street,phone,zipcode,dlzemailtime,library,librarytime");
            if(empty($info)){
                die($this->logic_tools->ret_json(-1,"未查询到相关快递信息"));
            }