dever 3 years ago
parent
commit
6269d70329
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/shop/src/Buy.php

+ 1 - 0
app/shop/src/Buy.php

@@ -354,6 +354,7 @@ class Buy extends Core
 
             if ($total <= 0) {
                 $this->data['list'][$k]['ku_state'] = 2;
+                $this->data['list'][$k]['buy_num'] = 0;
             }
 
             if ($this->data['list'][$k]['ku_state'] == 1) {