...
|
...
|
@@ -24,6 +24,7 @@ class LabelController extends AdminBaseController{ |
|
|
public function classify_add(){
|
|
|
|
|
|
if($this -> request -> isPost()){
|
|
|
$_POST['create_time'] = time();
|
|
|
$data = Db::name('classification') -> insert($_POST);
|
|
|
if($data){
|
|
|
$this -> success('添加成功',url('Label/classify_list'));
|
...
|
...
|
|