You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package router
import ( "gin-vue-admin/api/v1" "gin-vue-admin/middleware" "github.com/gin-gonic/gin" )
func InitSysDictionaryRouter(Router *gin.RouterGroup) { SysDictionaryRouter := Router.Group("sysDictionary"). Use(middleware.JWTAuth()). Use(middleware.CasbinHandler()). Use(middleware.OperationRecord()) { SysDictionaryRouter.POST("createSysDictionary", v1.CreateSysDictionary) // 新建SysDictionary
SysDictionaryRouter.DELETE("deleteSysDictionary", v1.DeleteSysDictionary) // 删除SysDictionary
SysDictionaryRouter.PUT("updateSysDictionary", v1.UpdateSysDictionary) // 更新SysDictionary
SysDictionaryRouter.GET("findSysDictionary", v1.FindSysDictionary) // 根据ID获取SysDictionary
SysDictionaryRouter.GET("getSysDictionaryList", v1.GetSysDictionaryList) // 获取SysDictionary列表
} }
|