�ļ��ϴ����

swoole�ṩ���ļ��ϴ�ģ�飬�����Զ���������HTTP POST���ļ��ϴ�����Controller�е���

$this->upload->save('Upfile_key');
//��Ҫ��������ͼ
$this->upload->thumb_width = 136; //����ͼ���
$this->upload->thumb_height = 136; //����ͼ�߶�
$this->upload->thumb_qulitity = 100; //����ͼ����

//�Զ�ѹ��ͼƬ
$this->upload->max_width = 600; //Լ��ͼƬ�������
$this->upload->max_height = 600; //Լ��ͼƬ�����߶�
$this->upload->max_qulitity = 90; //ͼƬѹ��������

��Ҫ��apps/configs������upload.php��base_dir �����ϴ��ļ��ĸ�Ŀ¼��

$upload = array(
    'base_dir' => WEBPATH.'/uploads/',
);
return $upload;

�����Զ������ϴ����ļ���