@@ -231,7 +231,7 @@ class Dhorder
}
- if (!$data['list']) {
+ if ($data['num'] <= 0) {
Dever::alert('没有商品可以兑换');
return $data;