Commit c24c53fb by 杨树贤

 修改案例不显示商品ID的问题

parent 4a63a703
Showing with 1 additions and 1 deletions
...@@ -181,7 +181,7 @@ class ArticleModel extends Model ...@@ -181,7 +181,7 @@ class ArticleModel extends Model
} }
if(empty($ArtId)) return false; if(empty($ArtId)) return false;
$Arr=['art_id','top_type_id','type_id','title','flag','sort_order','art_type','start_review','title_seo','description','keyword','litpic', $Arr=['art_id','top_type_id','type_id','title','flag','sort_order','art_type','start_review','title_seo','description','keyword','litpic',
'banner_flag','banner_title','banner_img','writer']; 'banner_flag','banner_title','banner_img','writer','goods_id'];
$Find=$this->where('art_id','=',$ArtId)->select($Arr)->first(); $Find=$this->where('art_id','=',$ArtId)->select($Arr)->first();
if(!$Find) return false; if(!$Find) return false;
$Find=$Find->toArray(); $Find=$Find->toArray();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment