duxin 7 meses atrás
pai
commit
ceb7ae6835
2 arquivos alterados com 3 adições e 0 exclusões
  1. 1 0
      api/internal/logic/createorderlogic.go
  2. 2 0
      service/orderService.go

+ 1 - 0
api/internal/logic/createorderlogic.go

@@ -96,6 +96,7 @@ func (l *CreateOrderLogic) CreateOrder(req types.Request) (*types.Response, erro
 		ContractNature:    req.ContractNature,
 		PaymentUser:       req.PaymentUser,
 	})
+	log.Println("付款人", req.PaymentUser)
 	if err != nil {
 		return nil, err
 	}

+ 2 - 0
service/orderService.go

@@ -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")
 	}