Browse Source

特价修改

shish 4 years ago
parent
commit
ab748a52f1
1 changed files with 0 additions and 3 deletions
  1. 0 3
      biz-ghs/product/classes/ProductClass.php

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

@@ -889,9 +889,6 @@ class ProductClass extends BaseClass
         //当前花材上下架状态
         if (isset($data['status'])) {
             $currentData['status'] = $data['status'];
-            if ($data['status'] == 2) {
-                $currentData['discountPrice'] = 0;
-            }
         }
         unset($currentData['price']);
         self::updateById($id, $currentData);