shish il y a 3 ans
Parent
commit
a6f524d018

+ 0 - 3
biz-ghs/product/classes/ProductClass.php

@@ -1128,9 +1128,6 @@ class ProductClass extends BaseClass
         if ($weight === false) {
             util::fail("请输入花材重量");
         }
-        if ($weight > 3) {
-            util::fail('花材重量不能超过3公斤');
-        }
         $cat = ItemClassClass::getById($classId, true);
         if (empty($cat)) {
             util::fail("花材分类不存在");

+ 0 - 3
biz-hd/item/classes/ItemClass.php

@@ -220,9 +220,6 @@ class ItemClass extends BaseClass
         if ($weight === false) {
             util::fail("请输入花材重量");
         }
-        if ($weight > 3) {
-            util::fail('花材重量不能超过3公斤');
-        }
         $cat = ItemClassClass::getById($classId, true);
         if (empty($cat)) {
             util::fail("花材分类不存在");