|
@@ -167,13 +167,12 @@ class SeriesDatum extends Controller
|
|
|
$this->fetch('add_datum',['datum_info'=>$datum_info,'cate_name'=>$cate_name]);
|
|
|
}else{
|
|
|
list($post) = [$this->request->post()];
|
|
|
+ var_dump($post);die();
|
|
|
if(empty($post['url'])) $this->error('请上传文件');
|
|
|
$item_info = [
|
|
|
'datum_id'=>$post['datum_id'],
|
|
|
'url'=>$post['url'],
|
|
|
'sort'=>$post['sort'],
|
|
|
-
|
|
|
-
|
|
|
];
|
|
|
$this->success('添加成功');
|
|
|
}
|
|
@@ -192,8 +191,6 @@ class SeriesDatum extends Controller
|
|
|
if($this->request->isGet()){
|
|
|
$this->datum_cate = DatumCate::column('id,title,is_vip','id');
|
|
|
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
|
|
|
if($this->request->isPost()) {
|
|
@@ -201,8 +198,5 @@ class SeriesDatum extends Controller
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- protected function _form_result($result){
|
|
|
-
|
|
|
- }
|
|
|
|
|
|
}
|