소스 검색

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

xupuyuan 10 달 전
부모
커밋
5cc8b37f90
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/controller/admin/order/Order.php

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

@@ -354,8 +354,8 @@ class Order extends BaseController
354 354
             $payVr = $this->getValue('user_sign_vr', ['order_id' => $order_id, 'type' => 2,], 'number');
355 355
             $this->backupAndDelete('user_sign_vr', ['order_id' => $order_id]);
356 356
  //           取出购买赠送积分 / 支出积分
357
-                $score = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'source_type' => 3,'uid' => $uid,], 'reward_score');
358
-                $payScore = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'pm' => 2,'uid' => $uid,], 'reward_score');
357
+                $score = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'source_type' => 3,'uid' => $uid,'pm' => 1], 'reward_score');
358
+  //              $payScore = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'pm' => 2,'uid' => $uid,], 'reward_score');
359 359
 ////            // 取出推广赠送的积分和推广人的 uid
360 360
 // //           $spreadScore = $this->getValue('user_sign_score', [
361 361
 //                ['order_id', '=', $order_id],