作者 lyh

gx

@@ -130,10 +130,10 @@ class LoginController extends BaseController @@ -130,10 +130,10 @@ class LoginController extends BaseController
130 $imageModel = new Image(); 130 $imageModel = new Image();
131 $html = $v['html']; 131 $html = $v['html'];
132 foreach ($srcValues as $srcValue) { 132 foreach ($srcValues as $srcValue) {
133 - var_dump($srcValue);  
134 - die();  
135 $image_info = $imageModel->read(['hash'=>$srcValue]); 133 $image_info = $imageModel->read(['hash'=>$srcValue]);
136 if($image_info !== false){ 134 if($image_info !== false){
  135 + var_dump($image_info);
  136 + die();
137 $path = basename($image_info['path']); 137 $path = basename($image_info['path']);
138 $html = $this->re($html,$srcValue,$path); 138 $html = $this->re($html,$srcValue,$path);
139 } 139 }