apply.go 399 B

123456789101112131415
  1. package routers
  2. import (
  3. "github.com/gin-gonic/gin"
  4. "project_management/app/controller"
  5. )
  6. func ApplyRouter(r *gin.Engine) {
  7. group := r.Group("/api")
  8. group.POST("/apply", controller.AddApply)
  9. group.POST("/applyall", controller.GetApplyList)
  10. group.POST("/applystate", controller.GetApplyState)
  11. group.PUT("/apply", controller.UserUpdateApply)
  12. group.PUT("/applycap", controller.ApplyAddCap)
  13. }