liujiandao
2024-03-15 e1c0fe2768d32f79920ceda92383981d4ff12058
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"
)
 
type DataRouter struct{}
 
func (s *DataRouter) InitDataRouter(router *gin.RouterGroup) {
    dataRouter := router.Group("data")
    {
        dataRouter.GET("getAllData", v1.ApiGroup.GetAllDataApi.GetAllData) // 获取所有数据
    }
}