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 }