作者 lyh

gx

@@ -128,11 +128,12 @@ class LoginController extends BaseController @@ -128,11 +128,12 @@ class LoginController extends BaseController
128 preg_match_all('/\"https:\/\/ecdn6.globalso.com\/public\/template\/(.*?)\"/', $v['html'], $matches); 128 preg_match_all('/\"https:\/\/ecdn6.globalso.com\/public\/template\/(.*?)\"/', $v['html'], $matches);
129 if (!empty($matches[1])) { 129 if (!empty($matches[1])) {
130 $srcValues = $matches[1]; 130 $srcValues = $matches[1];
  131 + var_dump($srcValues);
  132 + die();
131 $imageModel = new Image(); 133 $imageModel = new Image();
132 foreach ($srcValues as $srcValue) { 134 foreach ($srcValues as $srcValue) {
133 $hash = basename($srcValue); 135 $hash = basename($srcValue);
134 $image_info = $imageModel->read(['hash'=>$hash]); 136 $image_info = $imageModel->read(['hash'=>$hash]);
135 - var_dump($image_info);  
136 if($image_info !== false){ 137 if($image_info !== false){
137 $path = basename($image_info['path']); 138 $path = basename($image_info['path']);
138 $data['html'] = str_replace( 139 $data['html'] = str_replace(