docs(upload): Supplement the missing server-side mock example (#48977)

* docs(upload): Supplement the missing server-side mock example

* docs(upload): Supplement the missing server-side mock example

* docs(upload): Supplement the missing server-side mock example
This commit is contained in:
kiner-tang 2024-05-19 15:57:47 +08:00 committed by GitHub
parent e2998063e5
commit cb72cb2bbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ When uploading state change, it returns:
### How do I implement upload server side?
- You can consult [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload/wiki#server-side) about how to implement server side upload interface.
- There is a mock example of [express](https://github.com/react-component/upload/blob/master/server.js) in rc-upload.
- There is a mock example of [express](https://github.com/react-component/upload/blob/211979fdaa2c7896b6496df7061a0cfc0fc5434e/server.js) in rc-upload.
### I want to display download links.

View File

@ -132,7 +132,7 @@ demo:
### 服务端如何实现?
- 服务端上传接口实现可以参考 [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload/wiki#server-side)。
- 如果要做本地 mock 可以参考这个 [express 的例子](https://github.com/react-component/upload/blob/master/server.js)。
- 如果要做本地 mock 可以参考这个 [express 的例子](https://github.com/react-component/upload/blob/211979fdaa2c7896b6496df7061a0cfc0fc5434e/server.js)。
### 如何显示下载链接?