把phpcms\modules\attachment\attachments.php中将 if(empty($this->userid)){改为 if(empty($_POST['userid'])){php