Commit f36d1233 by huangchengyi

1.0

parent bd0570dc
Showing with 15 additions and 4 deletions
......@@ -20,10 +20,21 @@ func InitRouter() *gin.Engine {
})
//联营参数选择搜索
r.POST("optimum/attr", controller.OptimumAttr)
r.GET("optimum/attr", controller.OptimumAttr)
r.POST("optimum/goods", controller.OptimumGoods)
r.GET("optimum/goods", controller.OptimumGoods)
//联营参数选择搜索
v2 := r.Group("/v2/optimum/")
{
v2.POST("attr", controller.OptimumAttr)
v2.GET("attr", controller.OptimumAttr)
v2.POST("goods", controller.OptimumGoods)
v2.GET("goods", controller.OptimumGoods)
}
v3 := r.Group("/optimum/")
{
v3.POST("attr", controller.OptimumAttr)
v3.GET("attr", controller.OptimumAttr)
v3.POST("goods", controller.OptimumGoods)
v3.GET("goods", controller.OptimumGoods)
}
//路由
r.POST("search/ZiYing/zyh", controller.Zyh)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment