Просмотр исходного кода

fix(store): 修复产品价格显示问题

- 移除注释掉的价格标签变量 $t2
- 确保价格信息正确显示在产品详情中
- 修复因变量缺失导致的价格展示异常
shichen месяцев назад: 2
Родитель
Сommit
fefa858239
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/controller/api/store/product/StoreProduct.php

+ 1 - 1
app/controller/api/store/product/StoreProduct.php

@@ -536,7 +536,7 @@ class StoreProduct extends BaseController
536
                 ),
536
                 ),
537
                 'text' => array(
537
                 'text' => array(
538
                     $t1,
538
                     $t1,
539
-                    $t2,
539
+                    // $t2,
540
                     array(
540
                     array(
541
                         'text' => $pdata['price'],
541
                         'text' => $pdata['price'],
542
                         'left' => 400,
542
                         'left' => 400,