1.提交缺失的东西
This commit is contained in:
@ -80,13 +80,13 @@ class OrderController extends BaseApiController
|
||||
{
|
||||
$order_id = $this->request->get('id');
|
||||
if (!$order_id){
|
||||
$this->_error('请选择订单');
|
||||
return $this->fail('请选择订单');
|
||||
}
|
||||
$order_detail = OrderLogic::getOrderDetail($order_id, $this->user_id);
|
||||
$order_detail = OrderLogic::getOrderDetail($order_id, $this->userId);
|
||||
if (!$order_detail) {
|
||||
$this->_error('订单不存在了!', '');
|
||||
return $this->fail('订单不存在了!');
|
||||
}
|
||||
$this->_success('获取成功', $order_detail);
|
||||
return $this->success('获取成功', $order_detail);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user