正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -127,10 +127,10 @@ class LoginController extends BaseController | @@ -127,10 +127,10 @@ class LoginController extends BaseController | ||
| 127 | preg_match_all('/\"https:\/\/ecdn6.globalso.com\/public\/template\/(.*?)\"/', $v['html'], $matches); | 127 | preg_match_all('/\"https:\/\/ecdn6.globalso.com\/public\/template\/(.*?)\"/', $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(); | ||
| 132 | $imageModel = new Image(); | 130 | $imageModel = new Image(); |
| 133 | foreach ($srcValues as $srcValue) { | 131 | foreach ($srcValues as $srcValue) { |
| 132 | + var_dump($srcValue); | ||
| 133 | + die(); | ||
| 134 | $hash = basename($srcValue); | 134 | $hash = basename($srcValue); |
| 135 | $image_info = $imageModel->read(['hash'=>$hash]); | 135 | $image_info = $imageModel->read(['hash'=>$hash]); |
| 136 | if($image_info !== false){ | 136 | if($image_info !== false){ |
-
请 注册 或 登录 后发表评论