userId,FileEnum::SOURCE_USER); return $this->success('上传成功', ['url'=>env('project.project_url').'/'.$result['url']]); } catch (Exception $e) { return $this->fail($e->getMessage()); } } }