diff --git a/server/wheelserver/api/v1/inapp_shop/inapp_shop.go b/server/wheelserver/api/v1/inapp_shop/inapp_shop.go index 4a2bd369..1142af9f 100644 --- a/server/wheelserver/api/v1/inapp_shop/inapp_shop.go +++ b/server/wheelserver/api/v1/inapp_shop/inapp_shop.go @@ -80,3 +80,6 @@ func (this *InAppShopApi) OrderInfo(c *gin.Context) { rspObj.Data.Status = orderModel.Status c.JSON(200, rspObj) } + +func (this *InAppShopApi) Callback(c *gin.Context) { +} diff --git a/server/wheelserver/router/inapp_shop/inapp_shop.go b/server/wheelserver/router/inapp_shop/inapp_shop.go index 277247c5..09a87667 100644 --- a/server/wheelserver/router/inapp_shop/inapp_shop.go +++ b/server/wheelserver/router/inapp_shop/inapp_shop.go @@ -16,4 +16,6 @@ func (this *InAppShopRouter) InitRouter() { f5.GetApp().GetGinEngine().GET("/api/v1/inapp_shop/order/:order_id", middleware.JwtAuth, api.InAppShopApi.OrderInfo) + f5.GetApp().GetGinEngine().POST("/api/v1/inapp_shop/callback", + api.InAppShopApi.Callback) }