This commit is contained in:
aozhiwei 2024-11-27 17:01:48 +08:00
parent ea667a3cc3
commit d9d85be98d

View File

@ -7,8 +7,8 @@ import (
"main/common" "main/common"
"main/mt" "main/mt"
"main/model" "main/model"
/*
"main/vo" "main/vo"
/*
"math/rand" "math/rand"
"main/service" "main/service"
*/ */
@ -51,4 +51,10 @@ func (this *InAppShopApi) Purchase(c *gin.Context) {
f5.RspErr(c, 500, "server internal error") f5.RspErr(c, 500, "server internal error")
return return
} }
rspObj := struct {
vo.BaseVo
OrderId string `json:"order_id"`
}{}
rspObj.OrderId = orderModel.OrderId
c.JSON(200, rspObj)
} }