test
This commit is contained in:
parent
633231b997
commit
ac1a0c70c7
|
@ -80,8 +80,8 @@ func RegisterRoute(router *gin.Engine) {
|
|||
product.POST("/get_by_id", proCon.GetById)
|
||||
product.POST("/search", proCon.Search)
|
||||
product.POST("/create", proCon.Create)
|
||||
// product.POST("/update", proCon.Update)
|
||||
// product.POST("/delete", proCon.Delete)
|
||||
product.POST("/update", proCon.Update)
|
||||
product.POST("/delete", proCon.Delete)
|
||||
}
|
||||
|
||||
whitelist := router.Group("/whitelist")
|
||||
|
@ -89,8 +89,8 @@ func RegisterRoute(router *gin.Engine) {
|
|||
whitelist.POST("/get_by_id", wlCon.GetById)
|
||||
whitelist.POST("/search", wlCon.Search)
|
||||
whitelist.POST("/create", wlCon.Create)
|
||||
// whitelist.POST("/update", wlCon.Update)
|
||||
// whitelist.POST("/delete", wlCon.Delete)
|
||||
whitelist.POST("/update", wlCon.Update)
|
||||
whitelist.POST("/delete", wlCon.Delete)
|
||||
}
|
||||
|
||||
zhilian := router.Group("/zhilian")
|
||||
|
|
Loading…
Reference in New Issue