Index.php 557 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. namespace app\index\controller;
  4. use app\common\controller\BaseController;
  5. use app\common\library\Http;
  6. use app\common\library\TencentOrc;
  7. use think\annotation\route\Get;
  8. use think\facade\View;
  9. class Index extends BaseController
  10. {
  11. protected function _initialize()
  12. {
  13. parent::_initialize();
  14. }
  15. #[Get('/')]
  16. public function index()
  17. {
  18. $this->assign('version',site_config('basic.version'));
  19. return $this->fetch();
  20. }
  21. #[Get('/test')]
  22. public function test()
  23. {
  24. }
  25. }