Commit cb137960 by 朱继来

Merge branch 'zjl_change_addr_20200410'

parents 4d0a2987 b13aac81
...@@ -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);
......
...@@ -1302,7 +1302,7 @@ ...@@ -1302,7 +1302,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