UnInstall.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. // +---------------------------------------------------------------------+
  3. // | NiuCloud | [ WE CAN DO IT JUST NiuCloud ]  |
  4. // +---------------------------------------------------------------------+
  5. // | Copy right 2019-2029 www.niucloud.com  |
  6. // +---------------------------------------------------------------------+
  7. // | Author | NiuCloud <niucloud@outlook.com>  |
  8. // +---------------------------------------------------------------------+
  9. // | Repository | https://github.com/niucloud/framework.git  |
  10. // +---------------------------------------------------------------------+
  11. declare(strict_types=1);
  12. namespace addon\servicer\event;
  13. /**
  14. * 应用安装
  15. */
  16. class UnInstall
  17. {
  18. /**
  19. * 执行安装
  20. */
  21. public function handle()
  22. {
  23. // try{
  24. // execute_sql('addon/manjian/data/install.sql');
  25. // return success();
  26. // }catch (\Exception $e)
  27. // {
  28. // return error('', $e->getMessage());
  29. // }
  30. return success();
  31. }
  32. }