tp5restful API的搭建(2)

同学们好,嘿嘿。最近时间比较充足。多写一些心得。大家共同探讨交流。

上一节我们聊到api的基本操作,今天我们说一下上传功能。基本的上传功能,我这里说两种方式。

首先路由设置

Route::post(':version/upload', 'api/:version.News/upload');

一. $_FILES

$_FILES[“file”][“name”] - 被上传文件的名称
$_FILES[“file”][“type”] - 被上传文件的类型
$_FILES[“file”][“size”] - 被上传文件的大小,以字节计
$_FILES[“file”][“tmp_name”] - 存储在服务器的文件的临时副本的名称
$_FILES[“file”][“error”] - 由文件上传导致的错误代码

1.$_FILES 方式上传,它是一种二进制数据流。你要在标签内加enctype=multipart/form-data。如下


2.之后我们在controller中写入代码
tp5restful API的搭建(2)_第1张图片

public function upload(){

		// 获取表单上传文件 例如上传了001.jpg
		$file = request()->file('file');
		// 移动到框架应用根目录/uploads/ 目录下.move==move_uploaded_file
		$info = $file->move( '../uploads');
		if($info){
			// 成功上传后 获取上传信息
			// 输出 jpg
			$data = [
				'code' => 200,
				//'data' => $data
			];

			return json($data);
		}else{
			// 上传失败获取错误信息
			$data = [
				'code' => $file->getError(),
				//'data' => $data
			];
			return json($data);
		}
}

二、base64图片上传.

1.在controller中写入代码

public function upload(){

		$base64_img = trim(Request::post('img'));
		$up_dir = '../upload/';//存放在当前目录的upload文件夹下

		if(!file_exists($up_dir)){
			mkdir($up_dir,0777);
		}

		if(preg_match('/^(data:\s*image\/(\w+);base64,)/', $base64_img, $result)){
			$type = $result[2];
			if(in_array($type,array('pjpeg','jpeg','jpg','gif','bmp','png'))){
				$new_file = $up_dir.date('YmdHis_').'.'.$type;
				if(file_put_contents($new_file, base64_decode(str_replace($result[1], '', $base64_img)))){
					$img_path = str_replace('../../..', '', $new_file);
					echo '图片上传成功
'; }else{ echo '图片上传失败
'; } }else{ //文件类型错误 echo '图片上传类型错误'; } }else{ //文件错误 echo '文件错误'; } }

三 测试工具
chrome-extension://aejoelaoggembcahagimdiliamlcdmfm/restlet_client.html
base64图片在线转换工具 http://tool.chinaz.com/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P6YgRIEDgywQk/S+7oE6HAAECYwKS/piOGAECBL5MoPsZhvpFqjjJ+mWqGhsqH2vTxuLYiwABAgROF+i+kVuTeZ1G+yWrety2qbHoo8bbWB3DPgECBAicIvBJ+pGcIynHqybqT8n4f7PdeC1RAgQIELiBQHd7J5N9JvE8Hptku3rPtmNtxAgQIEDgMoHfH+TOSfZ905Xw+1SUESBA4FYCn59haBN2m/hrfCgW5VEv47VNnHKW3+r0TYYAAQLvEjjut3fqG8C7TJ0tAQIEbivw+/bObadqYgQIECCwVeC4lf7WmWlPgAABArsLWOnvTqpDAgQI3FdA0r/vtTEzAgQI7C4g6e9OqkMCBAjcV+C4pN8+srnUYGv7peOpT4AAgRcIHJf0X4DnFAkQIPA0ge5nGNqVdf0yVY3V8jjbGovjNh5l8Yp6NVbb1fKsW7c1XttFnRqLYy8CBAgQGBTY9iubbSIfGqatN3UcibytE333lQ2NqZwAAQIEfgls/5XNX102BUOJOsqXvvLNINpZ4S/VU58AAQJ/uts7mUQzGefxFqTsq6+Ptf1nu+w7j/vGUEaAAAECPwR+f5C7ZxKNvuJPJugfQ2882HOeG6eiOQECBJ4isN+vbOYZZzKORJ/7Ees7zjaxrXWzPN8sMpbHGc/yPLYlQIAAgVEBv70zyiNIgACB7xL4fXvnu87P2RAgQIBAEZD0C4ZdAgQIfLuApP/tV9j5ESBAoAhI+gXDLgECBL5dQNL/9ivs/AgQIFAEui9nDT0OOVQenUTMY5OF0y4BAgTuLTD92zsx/5rYJfp7X1GzI0CAwIiA2zsjOEIECBD4NoF5P7hWb/HUVf+3aTgfAgQIfLlAd08/k3nf7ZuMfTmG0yNAgMC3C/y+vRMJvq7sv13A+REgQOBFAr+T/otO3qkSIEDgbQLd0zv1zJfczmn/VbCkbR3TPgECBAgcLuBXNg8nNgABAgTuI/D/AbhNVq3jxzqRAAAAAElFTkSuQmCC

tp5restful API的搭建(2)_第2张图片

如果$_FILES方式上传的话测试如下
tp5restful API的搭建(2)_第3张图片

到现在上传功能就结束了。谢谢大家。

你可能感兴趣的:(restful,api)