find($id); empty($goodsInfo) && throwError('很抱歉,商品信息不存在'); return $goodsInfo; } }