db()->where($where)->find(); if ($data && $data['status'] == 1 && $data['mid'] == $mid) { return $data; } return false; } }