fix
wangpengfei
2023-08-18 51a555e6db6dcf71a7c16faa3bf61241a32d2459
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package router
 
import (
    "aps_crm/api/v1"
    "github.com/gin-gonic/gin"
)
 
type ImageRouter struct{}
 
func (s *BaseRouter) InitImageRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
    imageRouter := Router.Group("image")
    imageApi := v1.ApiGroup.ImageApi
    {
        imageRouter.POST("upload", imageApi.Upload) // 上传图像
    }
    return imageRouter
}