Переглянути джерело

后台-订单-新增撤回功能

xupuyuan 10 місяців тому
батько
коміт
b4afb127d5
1 змінених файлів з 7 додано та 7 видалено
  1. 7 7
      app/controller/admin/order/Order.php

+ 7 - 7
app/controller/admin/order/Order.php

@@ -348,13 +348,13 @@ class Order extends BaseController
348 348
             $this->backupAndDelete('store_order', ['group_order_id' => $group_order_id]);
349 349
             $this->backupAndDelete('store_group_order', ['group_order_id' => $group_order_id]);
350 350
             // 取出并删除 pv
351
-//            $pv = $this->getValue('user_pv_log', ['order_id' => $order_id, 'status' => 1,], 'pv');
352
-//            $this->backupAndDelete('user_pv_log', ['order_id' => $order_id]);
353
-//            // 取出 vr 消耗
354
-//            $payVr = $this->getValue('user_sign_vr', ['order_id' => $order_id, 'type' => 2,], 'number');
355
-//            // 取出购买赠送积分 / 支出积分
356
-//            $score = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'source_type' => 3,'uid' => $uid,], 'reward_score');
357
-//            $payScore = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'pm' => 2,'uid' => $uid,], 'reward_score');
351
+                $pv = $this->getValue('user_pv_log', ['order_id' => $order_id, 'status' => 1,], 'pv');
352
+                $this->backupAndDelete('user_pv_log', ['order_id' => $order_id]);
353
+           // 取出 vr 消耗
354
+           $payVr = $this->getValue('user_sign_vr', ['order_id' => $order_id, 'type' => 2,], 'number');
355
+           // 取出购买赠送积分 / 支出积分
356
+                $score = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'source_type' => 3,'uid' => $uid,], 'reward_score');
357
+                $payScore = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'pm' => 2,'uid' => $uid,], 'reward_score');
358 358
 //            // 取出推广赠送的积分和推广人的 uid
359 359
 //            $spreadScore = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'pm' => 2,'source_type' => 3,['mark','like','%推广%'],], 'reward_score');
360 360
 //            $spreadUid = $this->getValue('user_sign_score', [['order_id' => $order_id], ['status' => 1],['pm' => 2],['source_type' => 3],['mark','like','%推广%'],], 'uid');