|
|
@@ -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],
|