소스 검색

Merge remote-tracking branch 'origin/master'

zhangdehua 8 달 전
부모
커밋
3f3686ce10
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/index/controller/Index.php

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

@@ -150,6 +150,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);