Commit 1fac3f16 by LiuJunYi

订单详情

parent 0acf368d
......@@ -395,7 +395,7 @@ class Order extends Base
if ($order->isEmpty()) {
return ['code' => 1, 'msg' => '没有更多'];
}
$order->visible(['id', 'pid', 'title', 'total_fee', 'project.poster', 'created_at', 'status', 'is_refund', 'is_comment'])->append(['status_text'])->toArray();
$order->visible(['id', 'pid', 'title', 'total_fee', 'project.poster', 'created_at', 'status', 'is_refund', 'is_comment','extras'])->append(['status_text'])->toArray();
return ['code' => 0, 'msg' => 'success', 'data' => $order];
}
......@@ -482,4 +482,4 @@ class Order extends Base
}
}
\ No newline at end of file
}
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 to comment