增加删除学科查询与恢复与学科列验证
This commit is contained in:
1 parent
6b39fbeafa
commit
023bc596cb
19 files changed
+231
-57
No files matched your search
@@ -376,9 +376,10 @@ class Index extends AdminBase
|
||||
|
||||
|
||||
// 恢复删除
|
||||
public function reDel($id)
|
||||
public function reDel()
|
||||
{
|
||||
|
||||
// 获取id变量
|
||||
$id = request()->post('id');
|
||||
$user = STU::onlyTrashed()->find($id);
|
||||
$data = $user->restore();
|
||||
|
||||
|
||||
Reference in new issue
Block a user