Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwuxin committed Jun 30, 2023
1 parent ccd44fd commit 3b9452d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controller/Index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

namespace app\controller;

use app\BaseController;
Expand All @@ -7,7 +8,7 @@ class Index extends BaseController
{
public function index()
{
return '<style>*{ padding: 0; margin: 0; }</style><iframe src="https://www.thinkphp.cn/welcome" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>';
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')
Expand Down

0 comments on commit 3b9452d

Please sign in to comment.