Browse Source

特价大于售价

shish 3 years ago
parent
commit
1c0440365c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      biz-ghs/product/classes/ProductClass.php
  2. 1 1
      biz-hd/item/classes/ItemClass.php

+ 1 - 1
biz-ghs/product/classes/ProductClass.php

@@ -1313,7 +1313,7 @@ class ProductClass extends BaseClass
             $discountPrice = $data['discountPrice'] ?? 0;
             $currentPrice = $data['price'] ?? 0;
             if ($discountPrice >= $currentPrice) {
-                util::fail('今日特价要小于售价');
+                util::fail('特价大于售价');
             }
             $upData['discountPrice'] = $discountPrice;
             if ($discountPrice > 0) {

+ 1 - 1
biz-hd/item/classes/ItemClass.php

@@ -80,7 +80,7 @@ class ItemClass extends BaseClass
             $discountPrice = $data['discountPrice'] ?? 0;
             $currentPrice = $data['price'] ?? 0;
             if ($discountPrice >= $currentPrice) {
-                util::fail('今日特价要小于售价');
+                util::fail('特价大于售价');
             }
             $upData['discountPrice'] = $discountPrice;
         }