This commit is contained in:
duyu 2024-07-18 15:05:52 +08:00
parent 633231b997
commit ac1a0c70c7
1 changed files with 4 additions and 4 deletions

View File

@ -80,8 +80,8 @@ func RegisterRoute(router *gin.Engine) {
product.POST("/get_by_id", proCon.GetById) product.POST("/get_by_id", proCon.GetById)
product.POST("/search", proCon.Search) product.POST("/search", proCon.Search)
product.POST("/create", proCon.Create) product.POST("/create", proCon.Create)
// product.POST("/update", proCon.Update) product.POST("/update", proCon.Update)
// product.POST("/delete", proCon.Delete) product.POST("/delete", proCon.Delete)
} }
whitelist := router.Group("/whitelist") whitelist := router.Group("/whitelist")
@ -89,8 +89,8 @@ func RegisterRoute(router *gin.Engine) {
whitelist.POST("/get_by_id", wlCon.GetById) whitelist.POST("/get_by_id", wlCon.GetById)
whitelist.POST("/search", wlCon.Search) whitelist.POST("/search", wlCon.Search)
whitelist.POST("/create", wlCon.Create) whitelist.POST("/create", wlCon.Create)
// whitelist.POST("/update", wlCon.Update) whitelist.POST("/update", wlCon.Update)
// whitelist.POST("/delete", wlCon.Delete) whitelist.POST("/delete", wlCon.Delete)
} }
zhilian := router.Group("/zhilian") zhilian := router.Group("/zhilian")