This commit is contained in:
yangduo 2025-02-10 15:51:32 +08:00
parent fbfbf6bad6
commit 2cb0b2e2df

View File

@ -178,7 +178,7 @@ class BagController{
':accountid' => $account_id,
':id' => $item_id,
));
if (!$row || $row['status'] != 1 || $row['active_time'] < time()) {
if (!$row || $row['status'] != 1 || ($row['active_time'] > 0 && $row['active_time'] < time())) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个道具');
return;
}