attach files
# Upload Local File
```go
func UploadLocal(writer http.ResponseWriter, request *http.Request)
```
## Description
Get the uploaded source file s then create a new file d, copy the contents of the source file to the new file. Convert the new file path to a URL address, then response to front end
- Save Location: ./mnt
- url format: /mnt/xxxx.png
## Parameters
```go
writer http.ResponseWriter, request *http.Request
```
# Upoad OSS
```go
func UploadOss(writer http.ResponseWriter, request *http.Request)
```