作者 lyh

gx

... ... @@ -127,11 +127,11 @@ class LoginController extends BaseController
preg_match_all('/\"https:\/\/develop.globalso.com\/b\/image\/(.*?)\"/', $v['html'], $matches);
if (!empty($matches[1])) {
$srcValues = $matches[1];
var_dump($srcValues);
die();
$imageModel = new Image();
$html = $v['html'];
foreach ($srcValues as $srcValue) {
var_dump($srcValue);
die();
$image_info = $imageModel->read(['hash'=>$srcValue]);
if($image_info !== false){
$path = basename($image_info['path']);
... ...