Compare commits

..

No commits in common. "c132164e067fe0afb1efc4381569372c72cc5807" and "4cc716312f030abf6abd9a049e353c37abfbb2bf" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class UploadController extends BaseApiController
{
try {
$result = UploadService::image(0, $this->userId,FileEnum::SOURCE_USER);
return $this->success('上传成功', ['url'=>env('project.project_url').'/'.$result['url']]);
return $this->success('上传成功', $result);
} catch (Exception $e) {
return $this->fail($e->getMessage());
}