Compare commits
No commits in common. "c132164e067fe0afb1efc4381569372c72cc5807" and "4cc716312f030abf6abd9a049e353c37abfbb2bf" have entirely different histories.
c132164e06
...
4cc716312f
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue