作者 lyh

gx

... ... @@ -121,7 +121,7 @@ class ImageController
return $this->response($files->getError(), Code::USER_ERROR);
}
$data = [
'path' => $url.$filename,
'path' => $url.'/'.$filename,
'created_at' => date('Y-m-d H:i:s',time()),
'size' => $res->getSize(),
'hash' => $hash,
... ... @@ -173,7 +173,7 @@ class ImageController
return $this->response($file->getError(), Code::USER_ERROR);
}
$save_data[] = [
'path' => $url.$filename,
'path' => $url.'/'.$filename,
'created_at' => date('Y-m-d H:i:s',time()),
'size' => $res->getSize(),
'hash' => $hash,
... ...