作者 耿培杰

修改删除订单

... ... @@ -1483,7 +1483,7 @@ class Order extends Api
{
$user_id = $this->getUserId();
$order_id = $this->request->param('order_id');
$orderModel = new Order();
$orderModel = new \app\api\model\Order();
$where['user_id'] = ['eq', $user_id];
$where['id'] = ['eq', $order_id];
$data = $orderModel->where($where)->field('shipper_code,logistic_code')->find();
... ...