From 94bede9a410900963ebfa7d620679066eda9b579 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Thu, 14 Nov 2019 17:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=B8=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/PromoteService.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' => '系统异常,修改迁移任务状态失败'];