作者 lyh

gx

@@ -107,7 +107,7 @@ class BaseLogic extends Logic @@ -107,7 +107,7 @@ class BaseLogic extends Logic
107 $imageModel = new ImageModel(); 107 $imageModel = new ImageModel();
108 $image_hash = $imageModel->read(['hash'=>$hash]); 108 $image_hash = $imageModel->read(['hash'=>$hash]);
109 if($image_hash !== false){ 109 if($image_hash !== false){
110 - return $this->response('图片资源',Code::SUCCESS,['image'=>$hash]); 110 + return $hash;
111 } 111 }
112 $url = $this->path; 112 $url = $this->path;
113 $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); 113 $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension();