|
@@ -2189,10 +2189,7 @@ class Fullordersmt extends Start_Controller {
|
|
|
$obtain = $this->apismt->get_obtain($d['orderinfo'],$shop['code']);//修改声明先查询之前物流信息
|
|
|
if(isset($obtain['logistics_no']))
|
|
|
{
|
|
|
- $result_tmp = $this->apismt->get_editout($obtain['logistics_no'],$msg,'all',$d['orderinfo'],$obtain['service_name'],$ex['aecode'],$shop['code']);
|
|
|
- echo "<pre>";
|
|
|
- print_r($result_tmp);
|
|
|
- die;
|
|
|
+ $result = $this->apismt->get_editout($obtain['logistics_no'],$msg,'all',$d['orderinfo'],$obtain['service_name'],$ex['aecode'],$shop['code']);
|
|
|
}
|
|
|
if(isset($result['result_success']) && $result['result_success'] == 1)
|
|
|
{
|
|
@@ -2234,6 +2231,9 @@ class Fullordersmt extends Start_Controller {
|
|
|
else if($d['dlz'] == '0')//未发货声明状态
|
|
|
{
|
|
|
$result = $this->apismt->get_out($msg,'all',$d['orderinfo'],$ex['aecode'],$shop['code']);
|
|
|
+ echo "<pre>";
|
|
|
+ print_r($result);
|
|
|
+ die;
|
|
|
if(isset($result['result_success']) && $result['result_success'] == "true")
|
|
|
{
|
|
|
$this->fullordersmt->save(array('waybill'=>$msg,'state'=>209,'dlz'=>1),$id);
|