HighSpeaker/.history/app/controller/IndexController_20221223134606.php
2022-12-24 22:10:40 +08:00

25 lines
361 B
PHP

<?php
namespace app\controller;
use support\Request;
class IndexController
{
public function index(Request $request)
{
return view('index');
}
public function user(Request $request)
{
return view('user');
}
public function json(Request $request)
{
return json(['code' => 0, 'msg' => 'ok']);
}
}