whereFindInSet('host', $this->request->host()); $_op->where('start_time', '<=', time()); $_op->where('end_time', '>=', time()); $_data = $_op->find(); if (empty($_data)) { return send_http_status('', 102); } return $_data->id; } }