作者 开飞机的舒克

不显示html标签

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