From c76277efd970b87f57c86cb7671ef301b6477ed2 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 29 Nov 2024 10:45:38 +0800 Subject: [PATCH] 1 --- server/wheelserver/api/v1/inapp_shop/inapp_shop.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/wheelserver/api/v1/inapp_shop/inapp_shop.go b/server/wheelserver/api/v1/inapp_shop/inapp_shop.go index 05bce10d..9c5c6aa3 100644 --- a/server/wheelserver/api/v1/inapp_shop/inapp_shop.go +++ b/server/wheelserver/api/v1/inapp_shop/inapp_shop.go @@ -58,3 +58,10 @@ func (this *InAppShopApi) Purchase(c *gin.Context) { rspObj.OrderId = orderModel.OrderId c.JSON(200, rspObj) } + +func (this *InAppShopApi) OrderInfo(c *gin.Context) { + s := c.MustGet(constant.SESSION_KEY).(common.Session) + if s == nil { + return + } +}