1
This commit is contained in:
parent
debf0c7def
commit
1d26b220ea
@ -32,3 +32,6 @@ func (this *ShopApi) Goods(c *gin.Context) {
|
||||
})
|
||||
c.JSON(200, rspObj)
|
||||
}
|
||||
|
||||
func (this *ShopApi) Buy(c *gin.Context) {
|
||||
}
|
||||
|
@ -13,4 +13,7 @@ func (this *ShopRouter) InitRouter() {
|
||||
f5.GetApp().GetGinEngine().GET("/api/v1/shop/goods",
|
||||
middleware.JwtAuth,
|
||||
api.ShopApi.Goods)
|
||||
f5.GetApp().GetGinEngine().POST("/api/v1/shop/buy",
|
||||
middleware.JwtAuth,
|
||||
api.ShopApi.Buy)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user