...
|
...
|
@@ -91,13 +91,13 @@ class CoaController extends AdminBaseController{ |
|
|
$shuju1['post_id'] = $data['post']['post_id'];
|
|
|
|
|
|
$res = Db::name('docu_coa') -> where('id',$data['post']['id']) -> update($shuju1);
|
|
|
dump($res);die;
|
|
|
if($res){
|
|
|
$this -> success('修改成功',url('Coa/list',array('id'=>$shuju1['post_id'])));
|
|
|
|
|
|
/* if($res){
|
|
|
|
|
|
}else{
|
|
|
$this -> error('修改失败');
|
|
|
}
|
|
|
|
|
|
}*/
|
|
|
$this -> success('修改成功',url('Coa/list',array('id'=>$shuju1['post_id'])));
|
|
|
}else{
|
|
|
|
|
|
$this -> assign('data',$data);
|
...
|
...
|
|