Commit 52d31465 by 孙龙

合同

parent 6d8e4ac5
...@@ -26,7 +26,7 @@ class OrderApiController extends BaseController ...@@ -26,7 +26,7 @@ class OrderApiController extends BaseController
$params = $request->all(); $params = $request->all();
$type = arrayGet($params, "type"); $type = arrayGet($params, "type");
$order_id = 1; $order_id = 69;
$orderAddressList = OrderService::getOrderAddress($order_id); $orderAddressList = OrderService::getOrderAddress($order_id);
$orderAddressList = arrayChangeKeyByField($orderAddressList,"order_address_type"); $orderAddressList = arrayChangeKeyByField($orderAddressList,"order_address_type");
// dump($orderAddressList); // dump($orderAddressList);
......
...@@ -184,7 +184,7 @@ style ...@@ -184,7 +184,7 @@ style
<<<JS <<<JS
$('.test_item').click(function () { $('.test_item').click(function () {
console.log($(this).data().id); console.log($(this).data().id);
window.location.href="/admin/api/order_download?type="+$(this).data().id+"&order_id="+$(this).data().orderid window.location.href="/api/order_download?type="+$(this).data().id+"&order_id="+$(this).data().orderid
}); });
JS JS
); );
......
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