diff --git a/README.md b/README.md index e97a095..9e19a6b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ - laravel/framework: ^11.x - slowlyo/owl-admin: ^3.8 -## Helpers +## 修改内容 ### 上传文件 diff --git a/app/Admin/Controllers/SettingController.php b/app/Admin/Controllers/SettingController.php index 9a3f082..8d27047 100644 --- a/app/Admin/Controllers/SettingController.php +++ b/app/Admin/Controllers/SettingController.php @@ -3,11 +3,7 @@ namespace App\Admin\Controllers; use Illuminate\Http\Request; -use Slowlyo\OwlAdmin\Renderers\Tab; -use Slowlyo\OwlAdmin\Renderers\Tabs; use Slowlyo\OwlAdmin\Renderers\Alert; -use Slowlyo\OwlAdmin\Renderers\InputKV; -use Slowlyo\OwlAdmin\Renderers\TextControl; use Slowlyo\OwlAdmin\Controllers\AdminController; class SettingController extends AdminController diff --git a/app/Services/UserService.php b/app/Services/UserService.php index 0e4587d..4fe166a 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -59,15 +59,4 @@ class UserService extends AdminService { $query->filter(request()->all()); } - - public function deleted($ids) - { - $ids = explode(',', $ids); - - $this->query()->where(function ($q) use ($ids) { - foreach ($ids as $id) { - $q->orWhere('path', 'like', '%-'.$id.'-%'); - } - })->delete(); - } } \ No newline at end of file