瀏覽代碼

登录页加入返回首页

541469799@qq.com 8 月之前
父節點
當前提交
7de97f28f1
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);