HighSpeaker/.history/app/controller/DnsController_20221217222004

22 lines
375 B
Plaintext
Raw Normal View History

2022-12-18 18:14:03 +08:00
<?php
namespace app\controller;
class DnsController
{
public function index(Request $request)
{
return response('hello webman');
}
public function view(Request $request)
{
return view('index/view', ['name' => 'webman']);
}
public function json(Request $request)
{
return json(['code' => 0, 'msg' => 'ok']);
}
}