Uploadfile.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | EasyAdmin
  4. // +----------------------------------------------------------------------
  5. // | PHP交流群: 763822524
  6. // +----------------------------------------------------------------------
  7. // | 开源协议 https://mit-license.org
  8. // +----------------------------------------------------------------------
  9. // | github开源项目:https://github.com/zhongshaofa/EasyAdmin
  10. // +----------------------------------------------------------------------
  11. namespace app\admin\controller\system;
  12. use app\common\model\SystemUploadfile;
  13. use app\common\controller\AdminController;
  14. use EasyAdmin\annotation\ControllerAnnotation;
  15. use EasyAdmin\annotation\NodeAnotation;
  16. use think\App;
  17. /**
  18. * @ControllerAnnotation(title="上传文件管理")
  19. * Class Uploadfile
  20. * @package app\admin\controller\system
  21. */
  22. class Uploadfile extends AdminController
  23. {
  24. use \app\admin\traits\Curd;
  25. public function __construct(App $app)
  26. {
  27. parent::__construct($app);
  28. $this->model = new SystemUploadfile();
  29. }
  30. }