|
...
|
...
|
@@ -133,7 +133,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,
|
|
...
|
...
|
@@ -186,7 +186,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()),
|
|
|
|
'updated_at'=>date('Y-m-d H:i:s',time()),
|
|
|
|
'size' => $res->getSize(),
|
...
|
...
|
|