You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
529 B
20 lines
529 B
|
4 years ago
|
package uploaddownload
|
||
|
|
|
||
|
|
import (
|
||
|
|
v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
)
|
||
|
|
|
||
|
|
type FileUploadDownload struct{}
|
||
|
|
|
||
|
|
func (f *FileUploadDownload) InitGroupRouter(Router *gin.RouterGroup) {
|
||
|
|
groupCodeRouter := Router.Group("upordown")
|
||
|
|
var authorityApi = v1.ApiGroupApp.FileUploadOrDownloadApi.FileUploadDownload
|
||
|
|
{
|
||
|
|
groupCodeRouter.POST("", authorityApi.LongRangeFileUpload) //上传文件
|
||
|
|
|
||
|
|
// groupCodeRouter.POST("archivefilelist", authorityApi.ArchiveFileList) //文章列表
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|