From 5a303a6a7aa1b077fd2ec11c939d46c9718c653a Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 12 May 2021 13:45:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/TransferMerchantController.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/TransferMerchantController.class.php b/Application/Admin/Controller/TransferMerchantController.class.php index a17c8bc71..b06a58498 100644 --- a/Application/Admin/Controller/TransferMerchantController.class.php +++ b/Application/Admin/Controller/TransferMerchantController.class.php @@ -82,13 +82,15 @@ class TransferMerchantController extends ThinkController $idinfo = $this->TransferMerchant->field("id,ways")->where("id = {$id}")->find(); $idsave = [ 'id'=>$id, - 'ways'=>$idinfo['ways']-0+$ways + 'ways'=>$idinfo['ways']-0+$ways, + 'update_time'=>time() ]; $this->TransferMerchant->save($idsave); //修改之前的 $infosave = [ 'id'=>$info['id'], - 'ways'=>$info['ways']-$ways + 'ways'=>$info['ways']-$ways, + 'update_time'=>time() ]; $this->TransferMerchant->save($infosave); }