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