mirror of
https://github.com/v2board/v2board.git
synced 2025-01-31 02:29:14 +08:00
update
This commit is contained in:
parent
c187f07bed
commit
af72bb1a9b
@ -17,6 +17,7 @@ class OrderController extends Controller
|
|||||||
{
|
{
|
||||||
public function index (Request $request) {
|
public function index (Request $request) {
|
||||||
$order = Order::where('user_id', $request->session()->get('id'))
|
$order = Order::where('user_id', $request->session()->get('id'))
|
||||||
|
->orderBy('created_at', 'DESC')
|
||||||
->get();
|
->get();
|
||||||
$plan = Plan::get();
|
$plan = Plan::get();
|
||||||
for($i = 0; $i < count($order); $i++) {
|
for($i = 0; $i < count($order); $i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user