Commit 7e10cd09 authored by zhuwei's avatar zhuwei

c端商铺图库相关-图片上传-增加类型

parent 4180deb9
...@@ -78,6 +78,10 @@ class UploadFileService ...@@ -78,6 +78,10 @@ class UploadFileService
$path .= 'static/business_school_file/'; $path .= 'static/business_school_file/';
$internet_path = 'static/business_school_file/'; $internet_path = 'static/business_school_file/';
break; break;
case 'shop_image_depot' :
$path .= 'static/shop_image_depot/';
$internet_path = 'static/shop_image_depot/';
break;
default : default :
$data['code'] = 101; $data['code'] = 101;
$data['msg'] = "上传图片类型错误"; $data['msg'] = "上传图片类型错误";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment