This commit is contained in:
liaofei 2023-06-13 16:21:47 +08:00
parent fd6fe6d0a1
commit 63527e0fa0

View File

@ -351,7 +351,8 @@ class StoreProduct extends AuthController
if (!$key || !$contentType) {
return app('json')->fail('缺少参数');
}
$re = $upload->getTempKeys($key, $path, $contentType);
$url = $upload->getTempKeys($key, $path, $contentType);
$re = ['url' => $url];
} else {
$re = $upload->getTempKeys();
}