正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -33,7 +33,7 @@ class GoodsdetailsController extends WeChatBaseController{ | @@ -33,7 +33,7 @@ class GoodsdetailsController extends WeChatBaseController{ | ||
33 | $this -> assign('data_label',$data_label); | 33 | $this -> assign('data_label',$data_label); |
34 | if($data['type'] == 1){ | 34 | if($data['type'] == 1){ |
35 | //相关推荐 | 35 | //相关推荐 |
36 | - $data_recomm = Db::name('goods') -> where("classify_id =".$data['classify_id']." and a.is_out = 1 and type = 1") -> limit(3) -> select(); | 36 | + $data_recomm = Db::name('goods') -> where("classify_id =".$data['classify_id']." and is_out = 1 and type = 1") -> limit(3) -> select(); |
37 | $this -> assign('data_recomm',$data_recomm); | 37 | $this -> assign('data_recomm',$data_recomm); |
38 | $this -> assign('is_recomm',1); | 38 | $this -> assign('is_recomm',1); |
39 | }else{ | 39 | }else{ |
-
请 注册 或 登录 后发表评论