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.

15 lines
447 B

package router
import (
"gin-vue-admin/api/v1"
"github.com/gin-gonic/gin"
)
func InitSimpleUploaderRouter(Router *gin.RouterGroup) {
SimpleUploaderRouter := Router.Group("simpleUploader")
{
SimpleUploaderRouter.POST("upload", v1.SimpleUploaderUpload) // 上传功能
SimpleUploaderRouter.GET("checkFileMd5", v1.CheckFileMd5) // 文件完整度验证
SimpleUploaderRouter.GET("mergeFileMd5", v1.MergeFileMd5) // 合并文件
}
}