|
@@ -349,9 +349,10 @@ class Order extends BaseController
|
|
349
|
$this->backupAndDelete('store_group_order', ['group_order_id' => $group_order_id]);
|
349
|
$this->backupAndDelete('store_group_order', ['group_order_id' => $group_order_id]);
|
|
350
|
// 取出并删除 pv
|
350
|
// 取出并删除 pv
|
|
351
|
$pv = $this->getValue('user_pv_log', ['order_id' => $order_id, 'status' => 1,], '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]);
|
|
|
|
|
|
352
|
+ $this->backupAndDelete('user_pv_log', ['order_id' => $order_id]); //status状态判断还没
|
|
353
|
// 取出 vr 消耗
|
353
|
// 取出 vr 消耗
|
|
354
|
-// $payVr = $this->getValue('user_sign_vr', ['order_id' => $order_id, 'type' => 2,], 'number');
|
|
|
|
|
|
354
|
+ $payVr = $this->getValue('user_sign_vr', ['order_id' => $order_id, 'type' => 2,], 'number');
|
|
|
|
355
|
+ $this->backupAndDelete('user_sign_vr', ['order_id' => $order_id]);
|
|
355
|
// 取出购买赠送积分 / 支出积分
|
356
|
// 取出购买赠送积分 / 支出积分
|
|
356
|
// $score = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'source_type' => 3,'uid' => $uid,], 'reward_score');
|
357
|
// $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
|
// $payScore = $this->getValue('user_sign_score', ['order_id' => $order_id, 'status' => 1,'pm' => 2,'uid' => $uid,], 'reward_score');
|