...
|
...
|
@@ -59,11 +59,13 @@ class CoaController extends AdminBaseController{ |
|
|
public function wzadd(){
|
|
|
|
|
|
$data = $this->request->param();
|
|
|
dump($data);die;
|
|
|
$shuju['title'] = $data['post']['post_title'];
|
|
|
$shuju['content'] = $data['post']['post_content'];
|
|
|
$shuju['fenlei'] = $data['post']['post_leibie'];
|
|
|
$shuju['time'] = time();
|
|
|
dump($shuju);die;
|
|
|
Db::name('docu_coa') -> insert($shuju);
|
|
|
$this -> success('添加成功',url('Coa/list',array('id',)));
|
|
|
|
|
|
|
|
|
}
|
...
|
...
|
|