1
This commit is contained in:
parent
74f5e1a5f0
commit
b25affbbb7
@ -80,3 +80,6 @@ func (this *InAppShopApi) OrderInfo(c *gin.Context) {
|
|||||||
rspObj.Data.Status = orderModel.Status
|
rspObj.Data.Status = orderModel.Status
|
||||||
c.JSON(200, rspObj)
|
c.JSON(200, rspObj)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *InAppShopApi) Callback(c *gin.Context) {
|
||||||
|
}
|
||||||
|
@ -16,4 +16,6 @@ func (this *InAppShopRouter) InitRouter() {
|
|||||||
f5.GetApp().GetGinEngine().GET("/api/v1/inapp_shop/order/:order_id",
|
f5.GetApp().GetGinEngine().GET("/api/v1/inapp_shop/order/:order_id",
|
||||||
middleware.JwtAuth,
|
middleware.JwtAuth,
|
||||||
api.InAppShopApi.OrderInfo)
|
api.InAppShopApi.OrderInfo)
|
||||||
|
f5.GetApp().GetGinEngine().POST("/api/v1/inapp_shop/callback",
|
||||||
|
api.InAppShopApi.Callback)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user