From afe21b9e9b1922ceab0f477d618953eb40ec7558 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 2 May 2022 14:33:54 +0800 Subject: [PATCH] 1 --- webapp/models/Gun.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/models/Gun.php b/webapp/models/Gun.php index b0aaddb8..0733d153 100644 --- a/webapp/models/Gun.php +++ b/webapp/models/Gun.php @@ -184,7 +184,7 @@ class Gun extends BaseModel { 'createtime' => myself()->_getNowTime(), 'modifytime' => myself()->_getNowTime() ); - if (!$accountId) { + if ($accountId) { $fieldsKv['account_id'] = $accountId; } if ($tokenId) {