diff --git a/app/portal/controller/GoodsdetailsController.php b/app/portal/controller/GoodsdetailsController.php
index 010cacb..0ee7a58 100644
--- a/app/portal/controller/GoodsdetailsController.php
+++ b/app/portal/controller/GoodsdetailsController.php
@@ -33,7 +33,7 @@ class GoodsdetailsController extends WeChatBaseController{
         $this -> assign('data_label',$data_label);
         if($data['type'] == 1){
             //相关推荐
-            $data_recomm = Db::name('goods') -> where("classify_id =".$data['classify_id']." and a.is_out = 1 and type = 1") -> limit(3) -> select();
+            $data_recomm = Db::name('goods') -> where("classify_id =".$data['classify_id']." and is_out = 1 and type = 1") -> limit(3) -> select();
             $this -> assign('data_recomm',$data_recomm);
             $this -> assign('is_recomm',1);
         }else{