Sfoglia il codice sorgente

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

xupuyuan 10 mesi fa
parent
commit
95552934fc
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7 7
      app/controller/admin/order/Order.php

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

@@ -361,13 +361,13 @@ class Order extends BaseController
361 361
             $spreadUid = $this->getValue('user_sign_score', [['order_id' => $order_id], ['status' => 1],['pm' => 2],['source_type' => 3],['mark','like','%推广%'],], 'uid');
362 362
 //            // 删除所有相关积分记录
363 363
             $this->backupAndDelete('user_sign_score', ['order_id' => $order_id]);
364
-            // 贡献值
365
-           $gongXian = $this->getValue('user_sign_gongxian', ['order_id' => $order_id, 'status' => 1,'type' => 1,'uid' => $uid,], 'number');
366
-            $spreadGongXian = 0;
367
-            if ($spreadUid) {
368
-                $spreadGongXian = $this->getValue('user_sign_gongxian', ['order_id' => $order_id, 'status' => 1,'type' => 1,'uid' => $spreadUid,], 'number');
369
-            }
370
-            $this->backupAndDelete('user_sign_gongxian', ['order_id' => $order_id]);
364
+//            // 贡献值
365
+//           $gongXian = $this->getValue('user_sign_gongxian', ['order_id' => $order_id, 'status' => 1,'type' => 1,'uid' => $uid,], 'number');
366
+//            $spreadGongXian = 0;
367
+//            if ($spreadUid) {
368
+//                $spreadGongXian = $this->getValue('user_sign_gongxian', ['order_id' => $order_id, 'status' => 1,'type' => 1,'uid' => $spreadUid,], 'number');
369
+//            }
370
+//            $this->backupAndDelete('user_sign_gongxian', ['order_id' => $order_id]);
371 371
 //            // 养老金 / 推广养老金 / 推广佣金
372 372
 //            $yangLaoJin = $this->getValue('user_bill', ['link_id' => $order_id, 'status' => 1,'pm' => 1,'uid' => $uid,], 'number');
373 373
 //            $spreadYlj = 0;