This commit is contained in:
aozhiwei 2024-11-29 13:37:23 +08:00
parent 6cd6a12a44
commit 74f5e1a5f0

View File

@ -69,4 +69,14 @@ func (this *InAppShopApi) OrderInfo(c *gin.Context) {
f5.RspErr(c, 1, "not found") f5.RspErr(c, 1, "not found")
return return
} }
rspObj := struct {
vo.BaseVo
Data struct {
OrderId string `json:"order_id"`
Status int32 `json:"status"`
} `json:"data"`
}{}
rspObj.Data.OrderId = orderModel.OrderId
rspObj.Data.Status = orderModel.Status
c.JSON(200, rspObj)
} }