|
...
|
...
|
@@ -266,11 +266,11 @@ class LoginController extends BaseController |
|
|
|
preg_match_all('/\"https:\/\/admin.item.globalso.site\/a\/image\/(.*?)\"/', $v['html'], $matches);
|
|
|
|
if (!empty($matches[1])) {
|
|
|
|
$srcValues = $matches[1];
|
|
|
|
var_dump($srcValues);
|
|
|
|
die();
|
|
|
|
$imageModel = new Image();
|
|
|
|
foreach ($srcValues as $srcValue) {
|
|
|
|
$image_info = $imageModel->read(['hash'=>$srcValue]);
|
|
|
|
var_dump($image_info);
|
|
|
|
die();
|
|
|
|
if($image_info !== false){
|
|
|
|
$path = $image_info['path'];
|
|
|
|
$data['html'] = str_replace(
|
...
|
...
|
|