diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php
index af20299..856b2cd 100644
--- a/application/api/controller/Index.php
+++ b/application/api/controller/Index.php
@@ -435,6 +435,7 @@ class Index extends Api
         $map2 = [];
         $map3 = [];
         $map4 = [];
+        $map5['a.stock'] = ['GT', 0];
         if (!empty($param['isclass']) || $param['isclass'] != null || $param['isclass'] != '') {
             if (strstr($param['isclass'], '0,')) {
                 $count = strpos($param['isclass'], "0,");
@@ -490,6 +491,7 @@ class Index extends Api
             ->where($map2)
             ->where($map3)
             ->where($map4)
+            ->where($map5)
             ->page($param['pages'], $param['rows'])
             ->select();
         if (empty($product_id)) {
@@ -512,6 +514,7 @@ class Index extends Api
             ->where($map2)
             ->where($map3)
             ->where($map4)
+            ->where($map5)
             ->select();
         foreach ($product_id as $k1 => $v1) {
             $list[$k1]['avatar'] = cdnurl($v1['avatar'], true);