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

21 lines
363 B
PHP

<?php
namespace app\controller;
use support\Request;
use Webman\Captcha\CaptchaBuilder;
use support\View;
use Respect\Validation\Validator as v;
use support\Redis;
class api
{
public function search(Request $request)
{
$content=$request->post('content');
$contenttype=v::ip()->validate($content);
return view('login');
}
}