Blame view

天文台pc/daocheng-api/app/controller/Index.php 452 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <?php
  
  namespace app\controller;
  
  use app\BaseController;
  
  class Index extends BaseController
  {
      public function index()
      {
          return '<style>*{ padding: 0; margin: 0; }</style><iframe src="https://www.thinkphp.cn/welcome?version=' . \think\facade\App::version() . '" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>';
      }
  
      public function hello($name = 'ThinkPHP8')
      {
          return 'hello,' . $name;
      }
  }