elf 4 months ago
parent 1738b5b5cf
commit 2ff6812210

@ -1,6 +1,7 @@
package response package response
type PayInfoResponse struct { type PayInfoResponse struct {
TpID string
OrderSn string OrderSn string
OrderCreateTime string OrderCreateTime string
PayAmount string PayAmount string

BIN
insure

Binary file not shown.

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

Loading…
Cancel
Save