1234567891011121314 |
- package routers
- import (
- "eta_gn/eta_bridge/controller/knowledge"
- "github.com/gin-gonic/gin"
- )
- func InitKnowledgeRouter(r *gin.RouterGroup) {
- control := new(knowledge.KnowledgeController)
- group := r.Group("knowledge/")
- group.POST("report/save", control.ReportSave)
- group.POST("viewpoint/acquire", control.ViewPointAcquire)
- }
|