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;
}
$itemMeta = mt\Item::get($itemId);
if (!$itemMeta ||
empty($itemMeta['nft_image_id']) ||
$itemMeta['nft_image_id'] <= 0 ||
$itemMeta['nft_image_id'] > 999
) {
if (!$itemMeta) {
myself()->_rspErr(500, 'server internal error');
return;
}