作者 开飞机的舒克

不显示html标签

@@ -130,8 +130,9 @@ class Index extends Api @@ -130,8 +130,9 @@ class Index extends Api
130 ->select(); 130 ->select();
131 foreach ($data as $k => $v) { 131 foreach ($data as $k => $v) {
132 $data[$k]['images'] = cdnurl($v['images'], true); 132 $data[$k]['images'] = cdnurl($v['images'], true);
  133 + $data[$k]['details'] = strip_tags($v['details']);
133 } 134 }
134 - $this->success('获取轮播图详情成功', strip_tags($data)); 135 + $this->success('获取轮播图详情成功', $data);
135 } 136 }
136 137
137 /** 138 /**