Commit b13aac81 by 朱继来

调整收货返回

parent 99feade5
...@@ -1370,14 +1370,9 @@ Class OrderController extends Controller ...@@ -1370,14 +1370,9 @@ Class OrderController extends Controller
$update_url = Config('website.api_domain').'order/updateOrderAddress'; $update_url = Config('website.api_domain').'order/updateOrderAddress';
$update = json_decode(curlApi($update_url, $data, 'POST'), true); $res = json_decode(curlApi($update_url, $data, 'POST'), true);
if ($update['err_code'] == 0) { return ['errcode' => $res['err_code'], 'errmsg' => $res['err_msg']];
return array('errcode'=>0,'errmsg'=>'操作成功');
} else {
errorLog(Error::E_UPDATE_FAILED, '操作失败');
return array('errcode'=>-1,'errmsg'=>'操作失败');
}
} }
$info = $this->orderDetail($request, $id); $info = $this->orderDetail($request, $id);
......
...@@ -1301,7 +1301,7 @@ ...@@ -1301,7 +1301,7 @@
}); });
}, },
//物流信息 //发票信息
changeInvoice:function() { changeInvoice:function() {
var order_id = $('input[name=order_id]').val(); var order_id = $('input[name=order_id]').val();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment