Sfoglia il codice sorgente

登录页加入返回首页

541469799@qq.com 8 mesi fa
parent
commit
7de97f28f1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/index/controller/Index.php

+ 1 - 0
app/index/controller/Index.php

@@ -159,6 +159,7 @@ class Index extends Controller
         }
         $goods = $goods->toArray();
         $goods['content'] = html_entity_decode($goods['content']);
+        empty($goods['selling_point']) && $goods['selling_point'] = '0';
 
         $model = new CommentModel;
         $total = $model->rowsTotal($goodsId);