فهرست منبع

登录页加入返回首页

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);