|
|
@@ -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);
|