作者 anyv
1 个管道 的构建 通过 耗费 0 秒

产品

... ... @@ -45,7 +45,7 @@ class CoaController extends AdminBaseController{
}
//添加页
//显示添加页
public function add(){
return $this -> fetch();
... ... @@ -53,6 +53,13 @@ class CoaController extends AdminBaseController{
}
//添加数据
public function wzadd{
$data = $this->request->param();
dump($data);die;
}
... ...
... ... @@ -30,9 +30,9 @@
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('Coa/list')}">列表</a></li>
<li class="active"><a href="{:url('AdminArticle/add')}">添加文章</a></li>
<li class="active"><a href="{:url('Coa/wzadd')}">添加文章</a></li>
</ul>
<form action="{:url('AdminArticle/addPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
<form action="{:url('Coa/wzadd')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
<div class="row">
<div class="col-md-9">
<table class="table table-bordered">
... ...