mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2026-05-08 03:17:02 +08:00
首次提交
This commit is contained in:
17
app/controller/IndexController.php
Normal file
17
app/controller/IndexController.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace app\controller;
|
||||
|
||||
use think\facade\View;
|
||||
|
||||
class IndexController
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
if (session('?nickname')) {
|
||||
$nickname = session('nickname');
|
||||
View::assign('nickname', $nickname);
|
||||
}
|
||||
return View::fetch();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user