1
This commit is contained in:
parent
6cd6a12a44
commit
74f5e1a5f0
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user