From 55ab82825dd47f209ed7aad1e106bb30d707185d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 26 Sep 2023 17:16:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hdl/hdl_upgrade.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hdl/hdl_upgrade.go b/hdl/hdl_upgrade.go index 564cfe2..07c4258 100644 --- a/hdl/hdl_upgrade.go +++ b/hdl/hdl_upgrade.go @@ -109,6 +109,7 @@ func CommUplv(blockStarChain string, eg *xorm.Engine, dbName string, user *model expire = t.AddDate(1, 0, 0) ord.ExpireAt = expire case 4: + expire = t // 永久(设置为与创建时间相同) ord.ExpireAt = t }