moonsflyer 3 月之前
父节点
当前提交
aefa9e1209
共有 1 个文件被更改,包括 10 次插入8 次删除
  1. 10 8
      app/common/logic/PayNotifyLogic.php

+ 10 - 8
app/common/logic/PayNotifyLogic.php

@@ -208,14 +208,16 @@ class PayNotifyLogic extends BaseLogic
 //                'order_id' => $order['id'],
 //                'order_id' => $order['id'],
 //            ]
 //            ]
 //        ]);
 //        ]);
-        //更新虚拟订单
-        try{
-            GoodsVirtualLogic::afterPayVirtualDelivery($order['id']);
-        } catch (\Throwable $e) {
-            Log::write($e->__toString(), 'FootprintError');
-        }
-        //更新用户等级
-        UserLogic::updateLevel($order['user_id']);
+//        //更新虚拟订单
+//        try{
+//            outFileLog(1,'prepay','$ret1');
+//            GoodsVirtualLogic::afterPayVirtualDelivery($order['id']);
+//            outFileLog(2,'prepay','$ret2');
+//        } catch (\Throwable $e) {
+//            Log::write($e->__toString(), 'FootprintError');
+//        }
+//        //更新用户等级
+//        UserLogic::updateLevel($order['user_id']);
 //
 //
 //        // 自动小票打印
 //        // 自动小票打印
 //        self::orderPrint($order['id']);
 //        self::orderPrint($order['id']);