fix
wangpengfei
2023-08-07 a64e5e4a30a9617ba7bb3612e5d833715b279d26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package router
 
import (
    v1 "aps_crm/api/v1"
    "github.com/gin-gonic/gin"
)
 
func InitFileRouter(router *gin.RouterGroup) {
    FileRouter := router.Group("file")
    FileApi := v1.FileApi{}
    {
        FileRouter.POST("add", FileApi.Add)             // 添加附件
        FileRouter.DELETE("delete/:id", FileApi.Delete) // 删除附件
    }
}