This commit is contained in:
richboo111
2022-08-04 14:38:00 +08:00
parent bb49c91799
commit f3848a6a65
2 changed files with 2 additions and 1 deletions

View File

@@ -235,6 +235,7 @@ func PayByBalance(ctx *jxcontext.Context, orderID string, isChoose, payType int,
globals.SugarLogger.Debug("再次获取user_vendor_order数据进行检验", userOrder.OrderStatus)
//快递单 同步到qbd
if orderInfo.Status == 110 && userOrder.OrderStatus == 4 {
globals.SugarLogger.Debug("进入qbd创建订单流程")
if err := q_bida.CreateOrder2QBiDa(userOrder, orderInfo.OrderID); err != nil {
return nil, "", err
}

View File

@@ -416,7 +416,7 @@ func CreateOrder2QBiDa(order *model.UserVendorOrder, orderId string) error {
// globals.SugarLogger.Debug("Callback Success But Order Status Update Fail ....")
// return errors.New("Callback Success But Order Status Update Fail ")
//}
globals.SugarLogger.Debug("我到qbd回调接口了")
// 创建QBIDA订单
makeOrder := &bida.MakeOrderReq{
PromiseTimeType: order.PromiseTimeType,