shish 3 rokov pred
rodič
commit
5dec666d46
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -935,7 +935,7 @@ class ProductController extends BaseController
         }
         $weight = isset($post['weight']) && is_numeric($post['weight']) ? $post['weight'] : 0;
         if ($weight <= 0) {
-            util::fail('请填写重量,最小请填0.1');
+            util::fail('请填写重量,最小0.1');
         }
         $post['staffName'] = $shopAdmin->name ?? '';
         ProductClass::addProduct($post, $this->shop);