diff --git a/Application/Base/Service/PromoteService.class.php b/Application/Base/Service/PromoteService.class.php index 5b58a2063..17a389e73 100644 --- a/Application/Base/Service/PromoteService.class.php +++ b/Application/Base/Service/PromoteService.class.php @@ -182,7 +182,7 @@ class PromoteService { } $topPromote = $this->getTopPromote($fromPromote); - $status = $this->shiftRemoveCoin($fromPromote, $task); + //$status = $this->shiftRemoveCoin($fromPromote, $task); if (!$status) { $model->rollback(); @@ -206,7 +206,7 @@ class PromoteService { 'chain' => ['exp', 'REPLACE(chain, "/' . $fromPromote['id'] . '/","/' . $toPromote['id'] . '/")'], ]); - // $status = M('ShiftTask')->where('id=' . $task['id'])->save(['status' => 1, 'handle_time' => time()]); + $status = M('ShiftTask')->where('id=' . $task['id'])->save(['status' => 1, 'handle_time' => time()]); if (!$status) { $model->rollback(); return ['status' => false, 'msg' => '系统异常,修改迁移任务状态失败'];