Commit b1c02edf authored by liuqiao's avatar liuqiao

修改上传图片方法 zsb/controller/pic.php->house

parent b3d108b1
...@@ -47,7 +47,7 @@ class Pic extends MY_Controller { ...@@ -47,7 +47,7 @@ class Pic extends MY_Controller {
$fileType = $file['type']; //文件类型 $fileType = $file['type']; //文件类型
$this->load->model('zsb_api_model'); $this->load->model('zsb_api_model');
$result = $this->zsb_api_model->requestFile('uploadPic',$filename,$tmpFile,$fileType ); $result = $this->zsb_api_model->requestFile('uploadPic',$filename,$tmpFile,$fileType );
return $result['pic_url']; echo $result['pic_url'];exit;
//判断是否上传是360全景图片 //判断是否上传是360全景图片
if(!empty($_GET['uploadType']) && $_GET['uploadType'] == '1') if(!empty($_GET['uploadType']) && $_GET['uploadType'] == '1')
......
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