修改bug

master
sunke 5 years ago
parent 94bede9a41
commit 8951a502c2

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

Loading…
Cancel
Save