shish 2 năm trước cách đây
mục cha
commit
900420e07c
1 tập tin đã thay đổi với 0 bổ sung8 xóa
  1. 0 8
      app-ghs/controllers/ProductController.php

+ 0 - 8
app-ghs/controllers/ProductController.php

@@ -273,8 +273,6 @@ class ProductController extends BaseController
             }
         }
 
-
-
         //客户等级
         $customId = Yii::$app->request->get('customId', 0);
         $level = 1;
@@ -293,12 +291,6 @@ class ProductController extends BaseController
                     $shortCover = $val['cover'] ?? '';
                     $itemInfoData[$key]['cover'] = imgUtil::groupImg($shortCover) . "?x-oss-process=image/resize,m_fill,h_100,w_100";
                     $itemInfoData[$key]['shortCover'] = $shortCover;
-                    $price = floatval($val['price']);
-                    $itemInfoData[$key]['price'] = $price;
-                    $skPrice = floatval($val['skPrice']);
-                    $itemInfoData[$key]['skPrice'] = $skPrice;
-                    $hjPrice = floatval($val['hjPrice']);
-                    $itemInfoData[$key]['hjPrice'] = $hjPrice;
                 }
             }
         } elseif ($requestType == 'changePrice') {