|
@@ -289,10 +289,10 @@ class Outerrors extends Start_Controller{
|
|
|
echo json_encode(['code'=>-1,'msg'=>'未发现和 '.$waybill.' 关联的订单信息']);exit;
|
|
echo json_encode(['code'=>-1,'msg'=>'未发现和 '.$waybill.' 关联的订单信息']);exit;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- $info = $this->outerrors->find("waybill = '$waybill'");
|
|
|
|
|
|
|
+ $r_info = $this->outerrors->find("waybill = '$waybill'");
|
|
|
|
|
|
|
|
- if(!empty($num)){
|
|
|
|
|
- echo json_encode(['code'=>-1,'msg'=>''.$waybill.' 的相关信息已录入,记录单号为:'.$info['number']]);exit;
|
|
|
|
|
|
|
+ if(!empty($r_info)){
|
|
|
|
|
+ echo json_encode(['code'=>-1,'msg'=>''.$waybill.' 的相关信息已录入,记录单号为:'.$r_info['number']]);exit;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$r = $this->_outerrorinfo($info,$weight,$outtype);
|
|
$r = $this->_outerrorinfo($info,$weight,$outtype);
|