This commit is contained in:
root 2020-01-02 00:07:30 +08:00
parent 6ff24f77b8
commit 2911680eaf

View File

@ -54,7 +54,7 @@ class OrderController extends Controller
]);
}
private function isExistNotPayOrder () {
private function isExistNotPayOrder (Request $request) {
return Order::where('status', 1)
->where('user_id', $request->session()->get('id'))
->first();