|
|
|
@ -182,12 +182,12 @@ class PromoteService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$topPromote = $this->getTopPromote($fromPromote);
|
|
|
|
|
//$status = $this->shiftRemoveCoin($fromPromote, $task);
|
|
|
|
|
// $status = $this->shiftRemoveCoin($fromPromote, $task);
|
|
|
|
|
|
|
|
|
|
if (!$status) {
|
|
|
|
|
/* if (!$status) {
|
|
|
|
|
$model->rollback();
|
|
|
|
|
return ['status' => false, 'msg' => '系统异常, 处理推广员平台币失败'];
|
|
|
|
|
}
|
|
|
|
|
} */
|
|
|
|
|
|
|
|
|
|
$firstMap = ['parent_id' => $fromPromote['id']];
|
|
|
|
|
$secondMap = ['chain' => ['like', $fromPromote['chain'] . $fromPromote['id'] . '/%']];
|
|
|
|
|