fixes bugs to gzip css and js
Showing
1 changed file
with
5 additions
and
0 deletions
@@ -110,6 +110,11 @@ class DetailModel | @@ -110,6 +110,11 @@ class DetailModel | ||
110 | } | 110 | } |
111 | } | 111 | } |
112 | 112 | ||
113 | + // 没有商品ID, 则取一次 | ||
114 | + if (empty($productId)) { | ||
115 | + $productId = isset($baseInfo['id']) ? $baseInfo['id'] : 0; | ||
116 | + } | ||
117 | + | ||
113 | $result['feedbacks'] = array(); | 118 | $result['feedbacks'] = array(); |
114 | 119 | ||
115 | // 商品咨询 | 120 | // 商品咨询 |
-
Please register or login to post a comment