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.
19 lines
499 B
19 lines
499 B
package uploaddownload
|
|
|
|
import (
|
|
v1 "gin_server_admin/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) //文章列表
|
|
|
|
}
|
|
}
|
|
|