request->get(); $status = isset($get['status']) ? $get['status'] : 0; $where = []; $where['userId'] = $this->userId; $where['status'] = $status; $data = CouponService::getCouponList($where); util::success($data); } }