|
|
@@ -347,14 +347,14 @@ class Order extends BaseController
|
|
347
|
347
|
// 删除订单相关表 对应备份还没有创建
|
|
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
|
|
- // 取出并删除 pv
|
|
351
|
|
- // $pv = $this->getValue('user_pv_log', ['order_id' => $order_id, 'status' => 1,], 'pv');
|
|
|
350
|
+// 取出并删除 pv
|
|
|
351
|
+// $pv = $this->getValue('user_pv_log', ['order_id' => $order_id, 'status' => 1,], 'pv');
|
|
352
|
352
|
// $this->backupAndDelete('user_pv_log', ['order_id' => $order_id]);
|
|
353
|
|
- // 取出 vr 消耗
|
|
|
353
|
+// 取出 vr 消耗
|
|
354
|
354
|
// $payVr = $this->getValue('user_sign_vr', ['order_id' => $order_id, 'type' => 2,], 'number');
|
|
355
|
|
- // 取出购买赠送积分 / 支出积分
|
|
|
355
|
+// 取出购买赠送积分 / 支出积分
|
|
356
|
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');
|
|
|
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');
|