Loginmobile.php 643 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. namespace addons\loginmobile;
  3. use app\common\library\Menu;
  4. use think\Addons;
  5. /**
  6. * 插件
  7. */
  8. class Loginmobile extends Addons
  9. {
  10. /**
  11. * 插件安装方法(只需要安装用户表即可)
  12. * @return bool
  13. */
  14. public function install()
  15. {
  16. return true;
  17. }
  18. /**
  19. * 插件卸载方法
  20. * @return bool
  21. */
  22. public function uninstall()
  23. {
  24. return true;
  25. }
  26. /**
  27. * 插件启用方法
  28. */
  29. public function enable()
  30. {
  31. return true;
  32. }
  33. /**
  34. * 插件禁用方法
  35. */
  36. public function disable()
  37. {
  38. return true;
  39. }
  40. }