upload_file 执行失败不知道错在哪
\Phpcmf\Hooks::trigger('upload_file', [
'type' => 'upload',
'data' => $file_tmp_name,
'file_path' => $file_path,
'attachment' => $attachment
]);提示执行失败 里面的参数都是对的呢
测试文件移动move_uploaded_file($file_tmp_name, $file_path); 是成功的
