pay
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user