正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -266,11 +266,11 @@ class LoginController extends BaseController | @@ -266,11 +266,11 @@ class LoginController extends BaseController | ||
| 266 | preg_match_all('/\"https:\/\/admin.item.globalso.site\/a\/image\/(.*?)\"/', $v['html'], $matches); | 266 | preg_match_all('/\"https:\/\/admin.item.globalso.site\/a\/image\/(.*?)\"/', $v['html'], $matches); |
| 267 | if (!empty($matches[1])) { | 267 | if (!empty($matches[1])) { |
| 268 | $srcValues = $matches[1]; | 268 | $srcValues = $matches[1]; |
| 269 | - var_dump($srcValues); | ||
| 270 | - die(); | ||
| 271 | $imageModel = new Image(); | 269 | $imageModel = new Image(); |
| 272 | foreach ($srcValues as $srcValue) { | 270 | foreach ($srcValues as $srcValue) { |
| 273 | $image_info = $imageModel->read(['hash'=>$srcValue]); | 271 | $image_info = $imageModel->read(['hash'=>$srcValue]); |
| 272 | + var_dump($image_info); | ||
| 273 | + die(); | ||
| 274 | if($image_info !== false){ | 274 | if($image_info !== false){ |
| 275 | $path = $image_info['path']; | 275 | $path = $image_info['path']; |
| 276 | $data['html'] = str_replace( | 276 | $data['html'] = str_replace( |
-
请 注册 或 登录 后发表评论