|
|
@@ -105,7 +105,7 @@ class PayNotifyLogic extends BaseLogic
|
|
|
|
|
|
//判断是否是一口价预支付订单,支付成功后生成尾款订单
|
|
|
$order_goods = OrderGoods::where('sn',$order->sn)->findOrEmpty();
|
|
|
- if(!$order_goods->isEmpty() and $order_goods->goods_payment_type == 3 and bcsub($order_goods->base_service_fee,$order_goods->service_fee,2)>0){
|
|
|
+ if(!$order_goods->isEmpty() and $order_goods->goods_payment_type == 3 and bcsub($order_goods->base_service_fee,$order_goods->service_fee,2)>=0){
|
|
|
//新增待支付尾款
|
|
|
$order_data = [
|
|
|
'order_type'=>$order['order_type'],
|