tags bug
This commit is contained in:
parent
6b8e119f88
commit
a3d3e2bba3
@ -82,7 +82,7 @@ function getCateName($cate_ename)
|
|||||||
//过滤文章摘要
|
//过滤文章摘要
|
||||||
function getArtContent($content)
|
function getArtContent($content)
|
||||||
{
|
{
|
||||||
return mb_substr(strip_tags($content),0,50).'更多详情...';
|
return mb_substr(strip_tags($content),0,100).'...';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ class Article extends BaseController
|
|||||||
return View::fetch();
|
return View::fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
/添加tag
|
//添加tag
|
||||||
public function tags(){
|
public function tags(){
|
||||||
$data = Request::only(['tags']);
|
$data = Request::only(['tags']);
|
||||||
$att = explode(',',$data['tags']);
|
$att = explode(',',$data['tags']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user