@ -1,6 +1,7 @@
package response
type PayInfoResponse struct {
TpID string
OrderSn string
OrderCreateTime string
PayAmount string
@ -817,6 +817,7 @@ func (s *orderService) GetPayInfo(token string) (*response.PayInfoResponse, erro
return nil, e.NewError("订单状态异常")
}
payInfo := response.PayInfoResponse{
TpID: order.Project.TpID,
PayAmount: order.Project.InsureAmount,
OrderSn: order.OrderSn,
OrderCreateTime: order.CreatedAt.Format("2006-01-02 15:04:05"),