Commit 5038dc3d authored by chentianyu's avatar chentianyu

调整 $userId参数类型

parent 75b8b392
...@@ -77,7 +77,7 @@ class UploadOssService ...@@ -77,7 +77,7 @@ class UploadOssService
* @throws \Meibuyu\Common\Exceptions\HttpResponseException * @throws \Meibuyu\Common\Exceptions\HttpResponseException
* @author chentianyu * @author chentianyu
*/ */
public function uploadImage(UploadedFile $image, string $module, int $userId, $uniqueFileName = false) public function uploadImage(UploadedFile $image, string $module, $userId, $uniqueFileName = false)
{ {
$ext = $image->getExtension(); $ext = $image->getExtension();
$clientFilename = $image->getClientFilename(); $clientFilename = $image->getClientFilename();
...@@ -113,7 +113,7 @@ class UploadOssService ...@@ -113,7 +113,7 @@ class UploadOssService
* @throws \Meibuyu\Common\Exceptions\HttpResponseException * @throws \Meibuyu\Common\Exceptions\HttpResponseException
* @author chentianyu * @author chentianyu
*/ */
public function uploadFile(UploadedFile $file, string $module, string $userId, $uniqueFileName = false, array $options = []) public function uploadFile(UploadedFile $file, string $module, $userId, $uniqueFileName = false, array $options = [])
{ {
$ext = $file->getExtension(); $ext = $file->getExtension();
$clientFilename = $file->getClientFilename(); $clientFilename = $file->getClientFilename();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment