tags add bug

This commit is contained in:
toogee 2020-05-14 11:09:26 +08:00
parent ba394a8833
commit e9ae3e5eec
2 changed files with 6 additions and 4 deletions

View File

@ -29,7 +29,8 @@ class Index extends AdminController
return view(); return view();
} }
public function message(){ public function message()
{
return view(); return view();
} }
@ -43,7 +44,8 @@ class Index extends AdminController
View::assign(['sys'=>$sys,'day'=>$days,'hos'=>$hos,'mins'=>$mins]); View::assign(['sys'=>$sys,'day'=>$days,'hos'=>$hos,'mins'=>$mins]);
return View::fetch(); return View::fetch();
} }
//
//本周发帖
public function forums() public function forums()
{ {
$forumList = Db::name('article') $forumList = Db::name('article')
@ -69,7 +71,7 @@ class Index extends AdminController
return json($res); return json($res);
} }
//帖子评论 //本周评论
public function replys() public function replys()
{ {
if(Request::isAjax()) { if(Request::isAjax()) {

View File

@ -52,7 +52,7 @@
layer.open({ layer.open({
type: 2 type: 2
,title: '添加分类' ,title: '添加分类'
,content: '/admin/Forum/addtags' ,content: 'tagsform.html'
,area: ['400px', '350px'] ,area: ['400px', '350px']
,btn: ['确定', '取消'] ,btn: ['确定', '取消']
,yes: function(index, layero){ ,yes: function(index, layero){