shish 7 mesi fa
parent
commit
d6d8346a9d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -228,7 +228,7 @@ class ProductController extends BaseController
                 $content .= '<TEXT x="35" y="90" font="12" w="2" h="2" r="0">----------</TEXT>';
                 $content .= '<TEXT x="35" y="150" font="12" w="2" h="2" r="0">正价 ' . $price . '元</TEXT>';
                 $content .= '<TEXT x="35" y="230" font="12" w="2" h="2" r="0">会员价 ' . $hyPrice . '元</TEXT>';
-            } elseif ($this->main == 4556) {
+            } elseif ($this->mainId == 4556) {
                 //打价格,显示零售价,并且不带元,杭州斗南鲜花不要带元
                 $content .= '<TEXT x="35" y="150" font="12" w="4" h="4" r="0">' . $price . '</TEXT>';
             } else {