This commit is contained in:
root 2019-10-27 21:02:32 +08:00
parent c187f07bed
commit af72bb1a9b

View File

@ -17,6 +17,7 @@ class OrderController extends Controller
{
public function index (Request $request) {
$order = Order::where('user_id', $request->session()->get('id'))
->orderBy('created_at', 'DESC')
->get();
$plan = Plan::get();
for($i = 0; $i < count($order); $i++) {