|
|
@@ -45,16 +45,16 @@ func routeCommunityTeam(r *gin.RouterGroup) { |
|
|
|
r.Use(mw.CheckBody) //body参数转换 |
|
|
|
r.Use(mw.CheckSign) //签名校验 |
|
|
|
r.Use(mw.Checker) |
|
|
|
r.GET("/cate", hdl.Cate) |
|
|
|
r.GET("/bank/store/cate", hdl.BankStoreCate) |
|
|
|
r.POST("/bank/store/list", hdl.BankStore) |
|
|
|
r.POST("/store", hdl.Store) |
|
|
|
r.GET("/goods/cate", hdl.Cate) |
|
|
|
r.POST("/goods", hdl.Goods) |
|
|
|
r.POST("/goods/sku", hdl.GoodsSku) |
|
|
|
// 用户授权后调用的接口 |
|
|
|
r.Use(mw.AuthJWT) |
|
|
|
r.POST("/store/addLike", hdl.StoreAddLike) |
|
|
|
r.POST("/store/cancelLike", hdl.StoreCancelLike) |
|
|
|
r.POST("/goods", hdl.Goods) |
|
|
|
r.POST("/goods/sku", hdl.GoodsSku) |
|
|
|
r.POST("/goods/coupon", hdl.GoodsCoupon) |
|
|
|
r.POST("/order/total", hdl.OrderTotal) |
|
|
|
r.POST("/order/create", hdl.OrderCreate) |
|
|
|