|
|
@@ -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;
|