songxingwei 3 years ago
parent
commit
7825a82e1e
1 changed files with 4 additions and 14 deletions
  1. 4 14
      application/store/controller/Article.php

+ 4 - 14
application/store/controller/Article.php

@@ -68,7 +68,7 @@ class Article extends Controller
 
 
     /**
-     * 编辑商品分类
+     * 编辑
      * @auth true
      * @throws \think\Exception
      * @throws \think\db\exception\DataNotFoundException
@@ -82,7 +82,7 @@ class Article extends Controller
     }
 
     /**
-     * 禁用商品分类
+     * 禁用
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException
@@ -93,7 +93,7 @@ class Article extends Controller
     }
 
     /**
-     * 启用商品分类
+     * 启用
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException
@@ -103,7 +103,7 @@ class Article extends Controller
         $this->_save($this->table, ['is_show' => '1']);
     }
     /**
-     * 删除分类
+     * 删除
      * @auth true
      * @throws \think\Exception
      * @throws \think\exception\PDOException
@@ -113,15 +113,5 @@ class Article extends Controller
         $this->_save($this->table, ['is_del' => '0']);
     }
 
-    /**
-     * 删除商品分类
-     * @auth true
-     * @throws \think\Exception
-     * @throws \think\exception\PDOException
-     */
-    public function remove()
-    {
-        $this->_delete($this->table);
-    }
 
 }