@@ -663,6 +663,10 @@ class Buy
$info = Dever::db('shop/buy_order')->one($id);
+ if (!$info) {
+ return '无订单信息';
+ }
+
$result = array();
$type_info = $this->show_base($info, $result, $type);