|
@@ -71,6 +71,7 @@ func (s OrderService) CreateOrder(in *jyOrder.Request) (int64, string, int64) {
|
|
|
order["discount_price"] = in.DiscountPrice
|
|
|
order["d_relation_id"] = in.DRelationId
|
|
|
order["payment_user"] = in.PaymentUser
|
|
|
+ log.Println("付款人", in.PaymentUser)
|
|
|
if in.OrderChannel == OrderChannelWX {
|
|
|
order["discount_price"] = in.OriginalPrice
|
|
|
}
|
|
@@ -187,6 +188,7 @@ func (s OrderService) UpdateOrder(in *jyOrder.Request) (int64, string) {
|
|
|
if in.PaymentUser != "" {
|
|
|
order["payment_user"] = in.PaymentUser
|
|
|
}
|
|
|
+ log.Println("付款人", in.PaymentUser)
|
|
|
if in.OrderChannel == "d03" {
|
|
|
delete(order, "return_status")
|
|
|
}
|