clientApply.go 390 B

123456789101112131415
  1. package routers
  2. import (
  3. "github.com/gin-gonic/gin"
  4. "project_management/app/controller"
  5. )
  6. func ClientApply(r *gin.Engine) {
  7. group := r.Group("/api")
  8. group.GET("/applyname", controller.GetApplyByName)
  9. group.POST("/user/collection", controller.CollectionApp)
  10. group.GET("/user/collectionlist", controller.CollectionList)
  11. group.POST("/user/applylist", controller.GetApplyByNameAll)
  12. }