fix:支付
This commit is contained in:
parent
9e6f919fa8
commit
44fd4f03e3
@ -351,6 +351,7 @@ func (d *defaultOrder) PaymentSuccessful(ctx context.Context, in *PaymentSuccess
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 更新订单信息
|
// 更新订单信息
|
||||||
|
uOrderDetail["pay_status"] = orderPayStatusCode
|
||||||
uOrderDetail["order_info"] = struct {
|
uOrderDetail["order_info"] = struct {
|
||||||
Utime *time.Time `json:"utime"`
|
Utime *time.Time `json:"utime"`
|
||||||
Status gmodel.OrderStatus `json:"status"`
|
Status gmodel.OrderStatus `json:"status"`
|
||||||
|
@ -166,6 +166,9 @@ func UpdateOrderStatusLink(statusLink []gmodel.OrderStatus, status gmodel.OrderS
|
|||||||
if status.Utime != nil {
|
if status.Utime != nil {
|
||||||
item.Utime = status.Utime
|
item.Utime = status.Utime
|
||||||
}
|
}
|
||||||
|
if status.Ctime != nil {
|
||||||
|
item.Ctime = status.Ctime
|
||||||
|
}
|
||||||
if status.Metadata != nil {
|
if status.Metadata != nil {
|
||||||
item.Metadata = status.Metadata
|
item.Metadata = status.Metadata
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user