songxingwei 2 rokov pred
rodič
commit
8afce7245d

+ 11 - 0
app/admin/controller/TeachingKnowledgeAuth.php

@@ -83,4 +83,15 @@ class TeachingKnowledgeAuth extends Controller
         }
     }
 
+    /**
+     * 删除
+     * @auth true
+     * @menu true
+     */
+    public function del($id){
+        DataTeachingKnowledge::whereIn('id',$id)->save([
+            'is_del'=>0,
+        ]);
+        $this->success('删除成功');
+    }
 }