This commit is contained in:
aozhiwei 2022-04-02 13:01:19 +08:00
parent 6bd03e8b6f
commit 98eeeb8ce8

View File

@ -261,11 +261,7 @@ class MarketController extends BaseController {
return; return;
} }
$itemMeta = mt\Item::get($itemId); $itemMeta = mt\Item::get($itemId);
if (!$itemMeta || if (!$itemMeta) {
empty($itemMeta['nft_image_id']) ||
$itemMeta['nft_image_id'] <= 0 ||
$itemMeta['nft_image_id'] > 999
) {
myself()->_rspErr(500, 'server internal error'); myself()->_rspErr(500, 'server internal error');
return; return;
} }