dever 3 years ago
parent
commit
db5450298e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/shop/lib/Sell.php

+ 2 - 0
app/shop/lib/Sell.php

@@ -882,9 +882,11 @@ class Sell
                             $discount_goods = array_keys($discount_goods);
                             if (in_array($data['list'][$k]['id'], $discount_goods)) {
                                 $role_set = $rv;
+                                break;
                             }
                         } elseif ($rv['category'] && in_array($data['list'][$k]['top_category_id'], $rv['category'])) {
                             $role_set = $rv;
+                            break;
                         }
                     }