Plugs.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | Think.Admin
  4. // +----------------------------------------------------------------------
  5. // | 版权所有 2014~2017 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
  6. // +----------------------------------------------------------------------
  7. // | 官方网站: http://think.ctolog.com
  8. // +----------------------------------------------------------------------
  9. // | 开源协议 ( https://mit-license.org )
  10. // +----------------------------------------------------------------------
  11. // | github开源项目:https://github.com/zoujingli/Think.Admin
  12. // +----------------------------------------------------------------------
  13. namespace app\demo\controller;
  14. use think\Controller;
  15. /**
  16. * 系统权限管理控制器
  17. * Class Plugs
  18. * @package app\demo\controller
  19. * @author Anyon <zoujingli@qq.com>
  20. * @date 2017/07/10 18:13
  21. */
  22. class Plugs extends Controller
  23. {
  24. /**
  25. * 文件上传
  26. * @return \think\response\View
  27. */
  28. public function file()
  29. {
  30. return view('', ['title' => '文件上传']);
  31. }
  32. /**
  33. * 省市区插件
  34. * @return \think\response\View
  35. */
  36. public function region()
  37. {
  38. return view('', ['title' => '省市区插件']);
  39. }
  40. /**
  41. * 富文本编辑器
  42. * @return \think\response\View
  43. */
  44. public function editor()
  45. {
  46. return view('', ['title' => '富文本编辑器']);
  47. }
  48. }