作者 lyh

gx

@@ -127,10 +127,10 @@ class LoginController extends BaseController @@ -127,10 +127,10 @@ class LoginController extends BaseController
127 preg_match_all('/\"https:\/\/develop.globalso.com\/a\/image\/(.*?)\"/', $v['html'], $matches); 127 preg_match_all('/\"https:\/\/develop.globalso.com\/a\/image\/(.*?)\"/', $v['html'], $matches);
128 if (!empty($matches[1])) { 128 if (!empty($matches[1])) {
129 $srcValues = $matches[1]; 129 $srcValues = $matches[1];
  130 + var_dump($srcValues);
  131 + die();
130 $imageModel = new Image(); 132 $imageModel = new Image();
131 $html = $v['html']; 133 $html = $v['html'];
132 - var_dump($html);  
133 - die();  
134 foreach ($srcValues as $srcValue) { 134 foreach ($srcValues as $srcValue) {
135 $image_info = $imageModel->read(['hash'=>$srcValue]); 135 $image_info = $imageModel->read(['hash'=>$srcValue]);
136 if($image_info !== false){ 136 if($image_info !== false){